Skip to content

Commit db97c41

Browse files
author
AWS
committed
OpenSearch Service Serverless Update: Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE.
1 parent 5725676 commit db97c41

File tree

3 files changed

+26
-13
lines changed

3 files changed

+26
-13
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "OpenSearch Service Serverless",
4+
"contributor": "",
5+
"description": "Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE."
6+
}

services/opensearchserverless/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,6 @@
308308
"expect": {
309309
"error": "Invalid Configuration: Missing Region"
310310
}
311-
},
312-
{
313-
"documentation": "Partition doesn't support DualStack",
314-
"expect": {
315-
"error": "DualStack is enabled but this partition does not support DualStack"
316-
},
317-
"params": {
318-
"Region": "us-isob-east-1",
319-
"UseFIPS": false,
320-
"UseDualStack": true
321-
}
322311
}
323312
],
324313
"version": "1.0"

services/opensearchserverless/src/main/resources/codegen-resources/service-2.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"aoss",
66
"jsonVersion":"1.0",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceFullName":"OpenSearch Service Serverless",
910
"serviceId":"OpenSearchServerless",
1011
"signatureVersion":"v4",
1112
"signingName":"aoss",
1213
"targetPrefix":"OpenSearchServerless",
13-
"uid":"opensearchserverless-2021-11-01"
14+
"uid":"opensearchserverless-2021-11-01",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"BatchGetCollection":{
@@ -831,6 +833,14 @@
831833
"shape":"String",
832834
"documentation":"<p>A description of the collection.</p>"
833835
},
836+
"failureCode":{
837+
"shape":"String",
838+
"documentation":"<p>A failure code associated with the request.</p>"
839+
},
840+
"failureMessage":{
841+
"shape":"String",
842+
"documentation":"<p>A message associated with the failure code.</p>"
843+
},
834844
"id":{
835845
"shape":"CollectionId",
836846
"documentation":"<p>A unique identifier for the collection.</p>"
@@ -2152,7 +2162,7 @@
21522162
"Resource":{"type":"string"},
21532163
"ResourceName":{
21542164
"type":"string",
2155-
"pattern":"^index/[a-z][a-z0-9-]{3,32}/([a-z;0-9&$%][+.~=\\-_a-z;0-9&$%]*|\\*)$"
2165+
"pattern":"^index/[a-z][a-z0-9-]{3,32}/([a-z;0-9&$%][+.~=\\-_a-z;0-9&$%]*)$"
21562166
},
21572167
"ResourceNotFoundException":{
21582168
"type":"structure",
@@ -2865,6 +2875,14 @@
28652875
"shape":"Long",
28662876
"documentation":"<p>The date the endpoint was created.</p>"
28672877
},
2878+
"failureCode":{
2879+
"shape":"String",
2880+
"documentation":"<p>A failure code associated with the request.</p>"
2881+
},
2882+
"failureMessage":{
2883+
"shape":"String",
2884+
"documentation":"<p>A message associated with the failure code.</p>"
2885+
},
28682886
"id":{
28692887
"shape":"VpcEndpointId",
28702888
"documentation":"<p>The unique identifier of the endpoint.</p>"

0 commit comments

Comments
 (0)