Skip to content

Commit 33774ee

Browse files
Updated API models and rebuilt service gems.
1 parent 23a1aaf commit 33774ee

File tree

49 files changed

+1985
-315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1985
-315
lines changed

apis/bedrock-agentcore-control/2023-06-05/api-2.json

Lines changed: 155 additions & 35 deletions
Large diffs are not rendered by default.

apis/bedrock-agentcore-control/2023-06-05/docs-2.json

Lines changed: 88 additions & 1 deletion
Large diffs are not rendered by default.

apis/bedrock-agentcore/2024-02-28/api-2.json

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,24 @@
6868
{"shape":"ServiceException"}
6969
]
7070
},
71+
"CompleteResourceTokenAuth":{
72+
"name":"CompleteResourceTokenAuth",
73+
"http":{
74+
"method":"POST",
75+
"requestUri":"/identities/CompleteResourceTokenAuth",
76+
"responseCode":200
77+
},
78+
"input":{"shape":"CompleteResourceTokenAuthRequest"},
79+
"output":{"shape":"CompleteResourceTokenAuthResponse"},
80+
"errors":[
81+
{"shape":"UnauthorizedException"},
82+
{"shape":"ValidationException"},
83+
{"shape":"AccessDeniedException"},
84+
{"shape":"ResourceNotFoundException"},
85+
{"shape":"ThrottlingException"},
86+
{"shape":"InternalServerException"}
87+
]
88+
},
7189
"CreateEvent":{
7290
"name":"CreateEvent",
7391
"http":{
@@ -643,6 +661,11 @@
643661
"min":1,
644662
"sensitive":true
645663
},
664+
"AuthorizationUrlType":{
665+
"type":"string",
666+
"min":1,
667+
"sensitive":true
668+
},
646669
"AutomationStream":{
647670
"type":"structure",
648671
"required":[
@@ -901,6 +924,21 @@
901924
},
902925
"eventstream":true
903926
},
927+
"CompleteResourceTokenAuthRequest":{
928+
"type":"structure",
929+
"required":[
930+
"userIdentifier",
931+
"sessionUri"
932+
],
933+
"members":{
934+
"userIdentifier":{"shape":"UserIdentifier"},
935+
"sessionUri":{"shape":"RequestUri"}
936+
}
937+
},
938+
"CompleteResourceTokenAuthResponse":{
939+
"type":"structure",
940+
"members":{}
941+
},
904942
"ConflictException":{
905943
"type":"structure",
906944
"members":{
@@ -1359,16 +1397,20 @@
13591397
"resourceCredentialProviderName":{"shape":"CredentialProviderName"},
13601398
"scopes":{"shape":"ScopesListType"},
13611399
"oauth2Flow":{"shape":"Oauth2FlowType"},
1400+
"sessionUri":{"shape":"RequestUri"},
13621401
"resourceOauth2ReturnUrl":{"shape":"ResourceOauth2ReturnUrlType"},
13631402
"forceAuthentication":{"shape":"Boolean"},
1364-
"customParameters":{"shape":"CustomRequestParametersType"}
1403+
"customParameters":{"shape":"CustomRequestParametersType"},
1404+
"customState":{"shape":"State"}
13651405
}
13661406
},
13671407
"GetResourceOauth2TokenResponse":{
13681408
"type":"structure",
13691409
"members":{
1370-
"authorizationUrl":{"shape":"String"},
1371-
"accessToken":{"shape":"AccessTokenType"}
1410+
"authorizationUrl":{"shape":"AuthorizationUrlType"},
1411+
"accessToken":{"shape":"AccessTokenType"},
1412+
"sessionUri":{"shape":"RequestUri"},
1413+
"sessionStatus":{"shape":"SessionStatus"}
13721414
}
13731415
},
13741416
"GetWorkloadAccessTokenForJWTRequest":{
@@ -1531,10 +1573,19 @@
15311573
"location":"querystring",
15321574
"locationName":"qualifier"
15331575
},
1576+
"accountId":{
1577+
"shape":"InvokeAgentRuntimeRequestAccountIdString",
1578+
"location":"querystring",
1579+
"locationName":"accountId"
1580+
},
15341581
"payload":{"shape":"Body"}
15351582
},
15361583
"payload":"payload"
15371584
},
1585+
"InvokeAgentRuntimeRequestAccountIdString":{
1586+
"type":"string",
1587+
"pattern":"[0-9]{12}"
1588+
},
15381589
"InvokeAgentRuntimeRequestBaggageString":{
15391590
"type":"string",
15401591
"max":8192,
@@ -2097,6 +2148,12 @@
20972148
"min":1,
20982149
"pattern":"[a-zA-Z0-9_-]+"
20992150
},
2151+
"RequestUri":{
2152+
"type":"string",
2153+
"max":1024,
2154+
"min":1,
2155+
"pattern":"urn:ietf:params:oauth:request_uri:[a-zA-Z0-9-._~]+"
2156+
},
21002157
"ResourceContent":{
21012158
"type":"structure",
21022159
"required":["type"],
@@ -2248,6 +2305,13 @@
22482305
"min":1,
22492306
"pattern":"[a-zA-Z0-9][a-zA-Z0-9-_]*"
22502307
},
2308+
"SessionStatus":{
2309+
"type":"string",
2310+
"enum":[
2311+
"IN_PROGRESS",
2312+
"FAILED"
2313+
]
2314+
},
22512315
"SessionSummary":{
22522316
"type":"structure",
22532317
"required":[
@@ -2372,6 +2436,12 @@
23722436
"createdAt":{"shape":"DateTimestamp"}
23732437
}
23742438
},
2439+
"State":{
2440+
"type":"string",
2441+
"max":4096,
2442+
"min":1,
2443+
"sensitive":true
2444+
},
23752445
"StopBrowserSessionRequest":{
23762446
"type":"structure",
23772447
"required":[
@@ -2672,6 +2742,14 @@
26722742
"max":128,
26732743
"min":1
26742744
},
2745+
"UserIdentifier":{
2746+
"type":"structure",
2747+
"members":{
2748+
"userToken":{"shape":"UserTokenType"},
2749+
"userId":{"shape":"UserIdType"}
2750+
},
2751+
"union":true
2752+
},
26752753
"UserTokenType":{
26762754
"type":"string",
26772755
"max":131072,

apis/bedrock-agentcore/2024-02-28/docs-2.json

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"BatchCreateMemoryRecords": "<p>Creates multiple memory records in a single batch operation for the specified memory with custom content.</p>",
66
"BatchDeleteMemoryRecords": "<p>Deletes multiple memory records in a single batch operation from the specified memory.</p>",
77
"BatchUpdateMemoryRecords": "<p>Updates multiple memory records with custom content in a single batch operation within the specified memory.</p>",
8+
"CompleteResourceTokenAuth": "<p>Confirms the user authentication session for obtaining OAuth2.0 tokens for a resource.</p>",
89
"CreateEvent": "<p>Creates an event in an AgentCore Memory resource. Events represent interactions or activities that occur within a session and are associated with specific actors.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:CreateEvent</code> permission.</p> <p>This operation is subject to request rate limiting.</p>",
910
"DeleteEvent": "<p>Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteEvent</code> permission.</p>",
1011
"DeleteMemoryRecord": "<p>Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteMemoryRecord</code> permission.</p>",
@@ -84,6 +85,12 @@
8485
"GetResourceApiKeyResponse$apiKey": "<p>The API key associated with the resource requested.</p>"
8586
}
8687
},
88+
"AuthorizationUrlType": {
89+
"base": null,
90+
"refs": {
91+
"GetResourceOauth2TokenResponse$authorizationUrl": "<p>The URL to initiate the authorization process, provided when the access token requires user authorization.</p>"
92+
}
93+
},
8794
"AutomationStream": {
8895
"base": "<p>The configuration for a stream that enables programmatic control of a browser session in Amazon Bedrock. This stream provides a bidirectional communication channel for sending commands to the browser and receiving responses, allowing agents to automate web interactions such as navigation, form filling, and element clicking.</p>",
8996
"refs": {
@@ -289,6 +296,14 @@
289296
"InvokeCodeInterpreterResponse$stream": "<p>The stream containing the results of the code execution. This includes output, errors, and execution status.</p>"
290297
}
291298
},
299+
"CompleteResourceTokenAuthRequest": {
300+
"base": null,
301+
"refs": {}
302+
},
303+
"CompleteResourceTokenAuthResponse": {
304+
"base": null,
305+
"refs": {}
306+
},
292307
"ConflictException": {
293308
"base": "<p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>",
294309
"refs": {
@@ -573,6 +588,12 @@
573588
"base": null,
574589
"refs": {}
575590
},
591+
"InvokeAgentRuntimeRequestAccountIdString": {
592+
"base": null,
593+
"refs": {
594+
"InvokeAgentRuntimeRequest$accountId": "<p>The identifier of the Amazon Web Services account for the agent runtime resource.</p>"
595+
}
596+
},
576597
"InvokeAgentRuntimeRequestBaggageString": {
577598
"base": null,
578599
"refs": {
@@ -985,6 +1006,14 @@
9851006
"MemoryRecordOutput$requestIdentifier": "<p>The client-provided identifier that was used to track this record operation.</p>"
9861007
}
9871008
},
1009+
"RequestUri": {
1010+
"base": null,
1011+
"refs": {
1012+
"CompleteResourceTokenAuthRequest$sessionUri": "<p>Unique identifier for the user's authentication session for retrieving OAuth2 tokens. This ID tracks the authorization flow state across multiple requests and responses during the OAuth2 authentication process.</p>",
1013+
"GetResourceOauth2TokenRequest$sessionUri": "<p>Unique identifier for the user's authentication session for retrieving OAuth2 tokens. This ID tracks the authorization flow state across multiple requests and responses during the OAuth2 authentication process.</p>",
1014+
"GetResourceOauth2TokenResponse$sessionUri": "<p>Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.</p>"
1015+
}
1016+
},
9881017
"ResourceContent": {
9891018
"base": "<p>Contains information about resource content.</p>",
9901019
"refs": {
@@ -1094,6 +1123,12 @@
10941123
"StopRuntimeSessionResponse$runtimeSessionId": "<p>The ID of the session that you requested to stop.</p>"
10951124
}
10961125
},
1126+
"SessionStatus": {
1127+
"base": null,
1128+
"refs": {
1129+
"GetResourceOauth2TokenResponse$sessionStatus": "<p>Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.</p>"
1130+
}
1131+
},
10971132
"SessionSummary": {
10981133
"base": "<p>Contains summary information about a session in an AgentCore Memory resource.</p>",
10991134
"refs": {
@@ -1154,6 +1189,12 @@
11541189
"base": null,
11551190
"refs": {}
11561191
},
1192+
"State": {
1193+
"base": null,
1194+
"refs": {
1195+
"GetResourceOauth2TokenRequest$customState": "<p>An opaque string that will be sent back to the callback URL provided in resourceOauth2ReturnUrl. This state should be used to protect the callback URL of your application against CSRF attacks by ensuring the response corresponds to the original request.</p>"
1196+
}
1197+
},
11571198
"StopBrowserSessionRequest": {
11581199
"base": null,
11591200
"refs": {}
@@ -1227,7 +1268,6 @@
12271268
"GetBrowserSessionResponse$sessionReplayArtifact": "<p>The artifact containing the session replay information.</p>",
12281269
"GetCodeInterpreterSessionRequest$codeInterpreterIdentifier": "<p>The unique identifier of the code interpreter associated with the session.</p>",
12291270
"GetCodeInterpreterSessionResponse$codeInterpreterIdentifier": "<p>The identifier of the code interpreter.</p>",
1230-
"GetResourceOauth2TokenResponse$authorizationUrl": "<p>The URL to initiate the authorization process, provided when the access token requires user authorization.</p>",
12311271
"InvalidInputException$message": null,
12321272
"InvokeAgentRuntimeRequest$agentRuntimeArn": "<p>The Amazon Web Services Resource Name (ARN) of the agent runtime to invoke. The ARN uniquely identifies the agent runtime resource in Amazon Bedrock.</p>",
12331273
"InvokeAgentRuntimeRequest$qualifier": "<p>The qualifier to use for the agent runtime. This can be a version number or an endpoint name that points to a specific version. If not specified, Amazon Bedrock uses the default version of the agent runtime.</p>",
@@ -1341,13 +1381,21 @@
13411381
"UserIdType": {
13421382
"base": null,
13431383
"refs": {
1344-
"GetWorkloadAccessTokenForUserIdRequest$userId": "<p>The ID of the user for whom you are retrieving the access token.</p>"
1384+
"GetWorkloadAccessTokenForUserIdRequest$userId": "<p>The ID of the user for whom you are retrieving the access token.</p>",
1385+
"UserIdentifier$userId": "<p>The ID of the user for whom you have retrieved a workload access token for</p>"
1386+
}
1387+
},
1388+
"UserIdentifier": {
1389+
"base": "<p>The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.</p>",
1390+
"refs": {
1391+
"CompleteResourceTokenAuthRequest$userIdentifier": "<p>The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.</p>"
13451392
}
13461393
},
13471394
"UserTokenType": {
13481395
"base": null,
13491396
"refs": {
1350-
"GetWorkloadAccessTokenForJWTRequest$userToken": "<p>The OAuth 2.0 token issued by the user's identity provider.</p>"
1397+
"GetWorkloadAccessTokenForJWTRequest$userToken": "<p>The OAuth 2.0 token issued by the user's identity provider.</p>",
1398+
"UserIdentifier$userToken": "<p>The OAuth2.0 token issued by the user’s identity provider</p>"
13511399
}
13521400
},
13531401
"ValidationException": {

apis/ec2/2016-11-15/api-2.json

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32896,7 +32896,49 @@
3289632896
"r8gn.24xlarge",
3289732897
"r8gn.48xlarge",
3289832898
"r8gn.metal-24xl",
32899-
"r8gn.metal-48xl"
32899+
"r8gn.metal-48xl",
32900+
"c8i.large",
32901+
"c8i.xlarge",
32902+
"c8i.2xlarge",
32903+
"c8i.4xlarge",
32904+
"c8i.8xlarge",
32905+
"c8i.12xlarge",
32906+
"c8i.16xlarge",
32907+
"c8i.24xlarge",
32908+
"c8i.32xlarge",
32909+
"c8i.48xlarge",
32910+
"c8i.96xlarge",
32911+
"c8i.metal-48xl",
32912+
"c8i.metal-96xl",
32913+
"c8i-flex.large",
32914+
"c8i-flex.xlarge",
32915+
"c8i-flex.2xlarge",
32916+
"c8i-flex.4xlarge",
32917+
"c8i-flex.8xlarge",
32918+
"c8i-flex.12xlarge",
32919+
"c8i-flex.16xlarge",
32920+
"r8gb.medium",
32921+
"r8gb.large",
32922+
"r8gb.xlarge",
32923+
"r8gb.2xlarge",
32924+
"r8gb.4xlarge",
32925+
"r8gb.8xlarge",
32926+
"r8gb.12xlarge",
32927+
"r8gb.16xlarge",
32928+
"r8gb.24xlarge",
32929+
"r8gb.metal-24xl",
32930+
"m8a.medium",
32931+
"m8a.large",
32932+
"m8a.xlarge",
32933+
"m8a.2xlarge",
32934+
"m8a.4xlarge",
32935+
"m8a.8xlarge",
32936+
"m8a.12xlarge",
32937+
"m8a.16xlarge",
32938+
"m8a.24xlarge",
32939+
"m8a.48xlarge",
32940+
"m8a.metal-24xl",
32941+
"m8a.metal-48xl"
3290032942
]
3290132943
},
3290232944
"InstanceTypeHypervisor":{

apis/ec2/2016-11-15/endpoint-rule-set-1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@
55
"builtIn": "AWS::Region",
66
"required": false,
77
"documentation": "The AWS region used to dispatch the request.",
8-
"type": "String"
8+
"type": "string"
99
},
1010
"UseDualStack": {
1111
"builtIn": "AWS::UseDualStack",
1212
"required": true,
1313
"default": false,
1414
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15-
"type": "Boolean"
15+
"type": "boolean"
1616
},
1717
"UseFIPS": {
1818
"builtIn": "AWS::UseFIPS",
1919
"required": true,
2020
"default": false,
2121
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
22-
"type": "Boolean"
22+
"type": "boolean"
2323
},
2424
"Endpoint": {
2525
"builtIn": "SDK::Endpoint",
2626
"required": false,
2727
"documentation": "Override the endpoint used to send this request",
28-
"type": "String"
28+
"type": "string"
2929
}
3030
},
3131
"rules": [

0 commit comments

Comments
 (0)