Skip to content

Commit b9cc6c3

Browse files
Updated API models and rebuilt service gems.
1 parent 539e65b commit b9cc6c3

File tree

97 files changed

+3225
-2641
lines changed

Some content is hidden

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

97 files changed

+3225
-2641
lines changed

apis/appstream/2016-12-01/api-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3402,7 +3402,8 @@
34023402
"members":{
34033403
"ConnectorType":{"shape":"StorageConnectorType"},
34043404
"ResourceIdentifier":{"shape":"ResourceIdentifier"},
3405-
"Domains":{"shape":"DomainList"}
3405+
"Domains":{"shape":"DomainList"},
3406+
"DomainsRequireAdminConsent":{"shape":"DomainList"}
34063407
}
34073408
},
34083409
"StorageConnectorList":{

apis/appstream/2016-12-01/docs-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,8 @@
10861086
"DomainList": {
10871087
"base": null,
10881088
"refs": {
1089-
"StorageConnector$Domains": "<p>The names of the domains for the account.</p>"
1089+
"StorageConnector$Domains": "<p>The names of the domains for the account.</p>",
1090+
"StorageConnector$DomainsRequireAdminConsent": "<p>The OneDrive for Business domains where you require admin consent when users try to link their OneDrive account to AppStream 2.0. The attribute can only be specified when ConnectorType=ONE_DRIVE.</p>"
10901091
}
10911092
},
10921093
"DynamicAppProvidersEnabled": {

apis/bedrock-agent-runtime/2023-07-26/api-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,8 @@
17771777
"InternalServerException":{
17781778
"type":"structure",
17791779
"members":{
1780-
"message":{"shape":"NonBlankString"}
1780+
"message":{"shape":"NonBlankString"},
1781+
"reason":{"shape":"String"}
17811782
},
17821783
"error":{"httpStatusCode":500},
17831784
"exception":true,

apis/bedrock-agent-runtime/2023-07-26/docs-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"Rerank": "<p>Reranks the relevance of sources based on queries. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/rerank.html\">Improve the relevance of query responses with a reranker model</a>.</p>",
1313
"Retrieve": "<p>Queries a knowledge base and retrieves information from it.</p>",
1414
"RetrieveAndGenerate": "<p>Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>. The response only cites sources that are relevant to the query.</p>",
15-
"RetrieveAndGenerateStream": "<p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note>"
15+
"RetrieveAndGenerateStream": "<p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note> <p>This operation requires permission for the <code> bedrock:RetrieveAndGenerate</code> action.</p>"
1616
},
1717
"shapes": {
1818
"APISchema": {
@@ -2600,6 +2600,7 @@
26002600
"InlineAgentReturnControlPayload$invocationId": "<p>The identifier of the action group invocation. </p>",
26012601
"InlineSessionState$invocationId": "<p> The identifier of the invocation of an action. This value must match the <code>invocationId</code> returned in the <code>InvokeInlineAgent</code> response for the action whose results are provided in the <code>returnControlInvocationResults</code> field. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html\">Return control to the agent developer</a>. </p>",
26022602
"InputFile$name": "<p>The name of the source file.</p>",
2603+
"InternalServerException$reason": "<p>The reason for the exception. If the reason is <code>BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE</code>, the model invocation service is unavailable. Retry your request.</p>",
26032604
"OutputFile$name": "<p>The name of the file containing response from code interpreter.</p>",
26042605
"Parameter$name": "<p>The name of the parameter.</p>",
26052606
"Parameter$type": "<p>The type of the parameter.</p>",

apis/ecr-public/2020-10-30/endpoint-rule-set-1.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -270,31 +270,6 @@
270270
}
271271
],
272272
"rules": [
273-
{
274-
"conditions": [
275-
{
276-
"fn": "stringEquals",
277-
"argv": [
278-
"aws",
279-
{
280-
"fn": "getAttr",
281-
"argv": [
282-
{
283-
"ref": "PartitionResult"
284-
},
285-
"name"
286-
]
287-
}
288-
]
289-
}
290-
],
291-
"endpoint": {
292-
"url": "https://ecr-public.{Region}.api.aws",
293-
"properties": {},
294-
"headers": {}
295-
},
296-
"type": "endpoint"
297-
},
298273
{
299274
"conditions": [],
300275
"endpoint": {

apis/ecr-public/2020-10-30/endpoint-tests-1.json

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,54 @@
11
{
22
"testCases": [
33
{
4-
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
5-
"expect": {
6-
"endpoint": {
7-
"url": "https://api.ecr-public.us-east-1.amazonaws.com"
8-
}
9-
},
10-
"params": {
11-
"Region": "us-east-1",
12-
"UseFIPS": false,
13-
"UseDualStack": false
14-
}
15-
},
16-
{
17-
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
4+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
185
"expect": {
196
"endpoint": {
20-
"url": "https://ecr-public.us-east-1.api.aws"
7+
"url": "https://api.ecr-public-fips.us-east-1.api.aws"
218
}
229
},
2310
"params": {
2411
"Region": "us-east-1",
25-
"UseFIPS": false,
12+
"UseFIPS": true,
2613
"UseDualStack": true
2714
}
2815
},
2916
{
30-
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
17+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
3118
"expect": {
3219
"endpoint": {
33-
"url": "https://api.ecr-public.us-west-2.amazonaws.com"
20+
"url": "https://api.ecr-public-fips.us-east-1.amazonaws.com"
3421
}
3522
},
3623
"params": {
37-
"Region": "us-west-2",
38-
"UseFIPS": false,
24+
"Region": "us-east-1",
25+
"UseFIPS": true,
3926
"UseDualStack": false
4027
}
4128
},
4229
{
43-
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
30+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
4431
"expect": {
4532
"endpoint": {
46-
"url": "https://api.ecr-public-fips.us-east-1.api.aws"
33+
"url": "https://api.ecr-public.us-east-1.api.aws"
4734
}
4835
},
4936
"params": {
5037
"Region": "us-east-1",
51-
"UseFIPS": true,
38+
"UseFIPS": false,
5239
"UseDualStack": true
5340
}
5441
},
5542
{
56-
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
43+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
5744
"expect": {
5845
"endpoint": {
59-
"url": "https://api.ecr-public-fips.us-east-1.amazonaws.com"
46+
"url": "https://api.ecr-public.us-east-1.amazonaws.com"
6047
}
6148
},
6249
"params": {
6350
"Region": "us-east-1",
64-
"UseFIPS": true,
51+
"UseFIPS": false,
6552
"UseDualStack": false
6653
}
6754
},

apis/ecr/2015-09-21/endpoint-rule-set-1.json

Lines changed: 0 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -166,56 +166,6 @@
166166
}
167167
],
168168
"rules": [
169-
{
170-
"conditions": [
171-
{
172-
"fn": "stringEquals",
173-
"argv": [
174-
"aws",
175-
{
176-
"fn": "getAttr",
177-
"argv": [
178-
{
179-
"ref": "PartitionResult"
180-
},
181-
"name"
182-
]
183-
}
184-
]
185-
}
186-
],
187-
"endpoint": {
188-
"url": "https://ecr-fips.{Region}.api.aws",
189-
"properties": {},
190-
"headers": {}
191-
},
192-
"type": "endpoint"
193-
},
194-
{
195-
"conditions": [
196-
{
197-
"fn": "stringEquals",
198-
"argv": [
199-
"aws-us-gov",
200-
{
201-
"fn": "getAttr",
202-
"argv": [
203-
{
204-
"ref": "PartitionResult"
205-
},
206-
"name"
207-
]
208-
}
209-
]
210-
}
211-
],
212-
"endpoint": {
213-
"url": "https://ecr-fips.{Region}.api.aws",
214-
"properties": {},
215-
"headers": {}
216-
},
217-
"type": "endpoint"
218-
},
219169
{
220170
"conditions": [],
221171
"endpoint": {
@@ -370,81 +320,6 @@
370320
}
371321
],
372322
"rules": [
373-
{
374-
"conditions": [
375-
{
376-
"fn": "stringEquals",
377-
"argv": [
378-
"aws",
379-
{
380-
"fn": "getAttr",
381-
"argv": [
382-
{
383-
"ref": "PartitionResult"
384-
},
385-
"name"
386-
]
387-
}
388-
]
389-
}
390-
],
391-
"endpoint": {
392-
"url": "https://ecr.{Region}.api.aws",
393-
"properties": {},
394-
"headers": {}
395-
},
396-
"type": "endpoint"
397-
},
398-
{
399-
"conditions": [
400-
{
401-
"fn": "stringEquals",
402-
"argv": [
403-
"aws-cn",
404-
{
405-
"fn": "getAttr",
406-
"argv": [
407-
{
408-
"ref": "PartitionResult"
409-
},
410-
"name"
411-
]
412-
}
413-
]
414-
}
415-
],
416-
"endpoint": {
417-
"url": "https://ecr.{Region}.api.amazonwebservices.com.cn",
418-
"properties": {},
419-
"headers": {}
420-
},
421-
"type": "endpoint"
422-
},
423-
{
424-
"conditions": [
425-
{
426-
"fn": "stringEquals",
427-
"argv": [
428-
"aws-us-gov",
429-
{
430-
"fn": "getAttr",
431-
"argv": [
432-
{
433-
"ref": "PartitionResult"
434-
},
435-
"name"
436-
]
437-
}
438-
]
439-
}
440-
],
441-
"endpoint": {
442-
"url": "https://ecr.{Region}.api.aws",
443-
"properties": {},
444-
"headers": {}
445-
},
446-
"type": "endpoint"
447-
},
448323
{
449324
"conditions": [],
450325
"endpoint": {

0 commit comments

Comments
 (0)