Skip to content

Commit be5265a

Browse files
Updated API models and rebuilt service gems.
1 parent 9872daf commit be5265a

File tree

45 files changed

+1740
-109
lines changed

Some content is hidden

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

45 files changed

+1740
-109
lines changed

apis/bedrock-agent/2023-06-05/api-2.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"bedrock-agent",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"Agents for Amazon Bedrock",
910
"serviceId":"Bedrock Agent",
1011
"signatureVersion":"v4",
1112
"signingName":"bedrock",
12-
"uid":"bedrock-agent-2023-06-05"
13+
"uid":"bedrock-agent-2023-06-05",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"AssociateAgentKnowledgeBase":{
@@ -1574,7 +1576,7 @@
15741576
"type":"string",
15751577
"max":2048,
15761578
"min":20,
1577-
"pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
1579+
"pattern":"^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
15781580
},
15791581
"BedrockEmbeddingModelConfiguration":{
15801582
"type":"structure",
@@ -1594,7 +1596,7 @@
15941596
"type":"string",
15951597
"max":2048,
15961598
"min":1,
1597-
"pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$"
1599+
"pattern":"^(arn:aws(-[^:]{1,12})?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
15981600
},
15991601
"Boolean":{
16001602
"type":"boolean",

apis/bedrock-agent/2023-06-05/docs-2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
"BedrockEmbeddingModelArn": {
310310
"base": null,
311311
"refs": {
312-
"VectorKnowledgeBaseConfiguration$embeddingModelArn": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>"
312+
"VectorKnowledgeBaseConfiguration$embeddingModelArn": "<p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>"
313313
}
314314
},
315315
"BedrockEmbeddingModelConfiguration": {

apis/docdb-elastic/2022-11-28/api-2.json

Lines changed: 168 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,35 @@
55
"endpointPrefix":"docdb-elastic",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceAbbreviation":"DocDB Elastic",
910
"serviceFullName":"Amazon DocumentDB Elastic Clusters",
1011
"serviceId":"DocDB Elastic",
1112
"signatureVersion":"v4",
1213
"signingName":"docdb-elastic",
13-
"uid":"docdb-elastic-2022-11-28"
14+
"uid":"docdb-elastic-2022-11-28",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
18+
"ApplyPendingMaintenanceAction":{
19+
"name":"ApplyPendingMaintenanceAction",
20+
"http":{
21+
"method":"POST",
22+
"requestUri":"/pending-action",
23+
"responseCode":200
24+
},
25+
"input":{"shape":"ApplyPendingMaintenanceActionInput"},
26+
"output":{"shape":"ApplyPendingMaintenanceActionOutput"},
27+
"errors":[
28+
{"shape":"ThrottlingException"},
29+
{"shape":"ValidationException"},
30+
{"shape":"ConflictException"},
31+
{"shape":"InternalServerException"},
32+
{"shape":"ResourceNotFoundException"},
33+
{"shape":"AccessDeniedException"}
34+
],
35+
"idempotent":true
36+
},
1637
"CopyClusterSnapshot":{
1738
"name":"CopyClusterSnapshot",
1839
"http":{
@@ -144,6 +165,24 @@
144165
{"shape":"AccessDeniedException"}
145166
]
146167
},
168+
"GetPendingMaintenanceAction":{
169+
"name":"GetPendingMaintenanceAction",
170+
"http":{
171+
"method":"GET",
172+
"requestUri":"/pending-action/{resourceArn}",
173+
"responseCode":200
174+
},
175+
"input":{"shape":"GetPendingMaintenanceActionInput"},
176+
"output":{"shape":"GetPendingMaintenanceActionOutput"},
177+
"errors":[
178+
{"shape":"ThrottlingException"},
179+
{"shape":"ValidationException"},
180+
{"shape":"ConflictException"},
181+
{"shape":"InternalServerException"},
182+
{"shape":"ResourceNotFoundException"},
183+
{"shape":"AccessDeniedException"}
184+
]
185+
},
147186
"ListClusterSnapshots":{
148187
"name":"ListClusterSnapshots",
149188
"http":{
@@ -176,6 +215,22 @@
176215
{"shape":"AccessDeniedException"}
177216
]
178217
},
218+
"ListPendingMaintenanceActions":{
219+
"name":"ListPendingMaintenanceActions",
220+
"http":{
221+
"method":"GET",
222+
"requestUri":"/pending-actions",
223+
"responseCode":200
224+
},
225+
"input":{"shape":"ListPendingMaintenanceActionsInput"},
226+
"output":{"shape":"ListPendingMaintenanceActionsOutput"},
227+
"errors":[
228+
{"shape":"ThrottlingException"},
229+
{"shape":"ValidationException"},
230+
{"shape":"InternalServerException"},
231+
{"shape":"AccessDeniedException"}
232+
]
233+
},
179234
"ListTagsForResource":{
180235
"name":"ListTagsForResource",
181236
"http":{
@@ -314,6 +369,27 @@
314369
},
315370
"exception":true
316371
},
372+
"ApplyPendingMaintenanceActionInput":{
373+
"type":"structure",
374+
"required":[
375+
"applyAction",
376+
"optInType",
377+
"resourceArn"
378+
],
379+
"members":{
380+
"applyAction":{"shape":"InputString"},
381+
"applyOn":{"shape":"InputString"},
382+
"optInType":{"shape":"OptInType"},
383+
"resourceArn":{"shape":"InputString"}
384+
}
385+
},
386+
"ApplyPendingMaintenanceActionOutput":{
387+
"type":"structure",
388+
"required":["resourcePendingMaintenanceAction"],
389+
"members":{
390+
"resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"}
391+
}
392+
},
317393
"Arn":{
318394
"type":"string",
319395
"max":1011,
@@ -615,6 +691,29 @@
615691
"snapshot":{"shape":"ClusterSnapshot"}
616692
}
617693
},
694+
"GetPendingMaintenanceActionInput":{
695+
"type":"structure",
696+
"required":["resourceArn"],
697+
"members":{
698+
"resourceArn":{
699+
"shape":"InputString",
700+
"location":"uri",
701+
"locationName":"resourceArn"
702+
}
703+
}
704+
},
705+
"GetPendingMaintenanceActionOutput":{
706+
"type":"structure",
707+
"required":["resourcePendingMaintenanceAction"],
708+
"members":{
709+
"resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"}
710+
}
711+
},
712+
"InputString":{
713+
"type":"string",
714+
"max":256,
715+
"min":1
716+
},
618717
"Integer":{
619718
"type":"integer",
620719
"box":true
@@ -696,6 +795,35 @@
696795
"nextToken":{"shape":"PaginationToken"}
697796
}
698797
},
798+
"ListPendingMaintenanceActionsInput":{
799+
"type":"structure",
800+
"members":{
801+
"maxResults":{
802+
"shape":"ListPendingMaintenanceActionsInputMaxResultsInteger",
803+
"location":"querystring",
804+
"locationName":"maxResults"
805+
},
806+
"nextToken":{
807+
"shape":"PaginationToken",
808+
"location":"querystring",
809+
"locationName":"nextToken"
810+
}
811+
}
812+
},
813+
"ListPendingMaintenanceActionsInputMaxResultsInteger":{
814+
"type":"integer",
815+
"box":true,
816+
"max":100,
817+
"min":1
818+
},
819+
"ListPendingMaintenanceActionsOutput":{
820+
"type":"structure",
821+
"required":["resourcePendingMaintenanceActions"],
822+
"members":{
823+
"nextToken":{"shape":"PaginationToken"},
824+
"resourcePendingMaintenanceActions":{"shape":"ResourcePendingMaintenanceActionList"}
825+
}
826+
},
699827
"ListTagsForResourceRequest":{
700828
"type":"structure",
701829
"required":["resourceArn"],
@@ -713,11 +841,36 @@
713841
"tags":{"shape":"TagMap"}
714842
}
715843
},
844+
"OptInType":{
845+
"type":"string",
846+
"enum":[
847+
"IMMEDIATE",
848+
"NEXT_MAINTENANCE",
849+
"APPLY_ON",
850+
"UNDO_OPT_IN"
851+
]
852+
},
716853
"PaginationToken":{"type":"string"},
717854
"Password":{
718855
"type":"string",
719856
"sensitive":true
720857
},
858+
"PendingMaintenanceActionDetails":{
859+
"type":"structure",
860+
"required":["action"],
861+
"members":{
862+
"action":{"shape":"String"},
863+
"autoAppliedAfterDate":{"shape":"String"},
864+
"currentApplyDate":{"shape":"String"},
865+
"description":{"shape":"String"},
866+
"forcedApplyDate":{"shape":"String"},
867+
"optInStatus":{"shape":"String"}
868+
}
869+
},
870+
"PendingMaintenanceActionDetailsList":{
871+
"type":"list",
872+
"member":{"shape":"PendingMaintenanceActionDetails"}
873+
},
721874
"ResourceNotFoundException":{
722875
"type":"structure",
723876
"required":[
@@ -736,6 +889,17 @@
736889
},
737890
"exception":true
738891
},
892+
"ResourcePendingMaintenanceAction":{
893+
"type":"structure",
894+
"members":{
895+
"pendingMaintenanceActionDetails":{"shape":"PendingMaintenanceActionDetailsList"},
896+
"resourceArn":{"shape":"String"}
897+
}
898+
},
899+
"ResourcePendingMaintenanceActionList":{
900+
"type":"list",
901+
"member":{"shape":"ResourcePendingMaintenanceAction"}
902+
},
739903
"RestoreClusterFromSnapshotInput":{
740904
"type":"structure",
741905
"required":[
@@ -839,7 +1003,9 @@
8391003
"COPYING",
8401004
"STARTING",
8411005
"STOPPING",
842-
"STOPPED"
1006+
"STOPPED",
1007+
"MAINTENANCE",
1008+
"INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
8431009
]
8441010
},
8451011
"StopClusterInput":{

0 commit comments

Comments
 (0)