Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Nov 1, 2024
1 parent 9872daf commit be5265a
Show file tree
Hide file tree
Showing 45 changed files with 1,740 additions and 109 deletions.
8 changes: 5 additions & 3 deletions apis/bedrock-agent/2023-06-05/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"endpointPrefix":"bedrock-agent",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"Agents for Amazon Bedrock",
"serviceId":"Bedrock Agent",
"signatureVersion":"v4",
"signingName":"bedrock",
"uid":"bedrock-agent-2023-06-05"
"uid":"bedrock-agent-2023-06-05",
"auth":["aws.auth#sigv4"]
},
"operations":{
"AssociateAgentKnowledgeBase":{
Expand Down Expand Up @@ -1574,7 +1576,7 @@
"type":"string",
"max":2048,
"min":20,
"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][_-]?)+)$"
"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})?$"
},
"BedrockEmbeddingModelConfiguration":{
"type":"structure",
Expand All @@ -1594,7 +1596,7 @@
"type":"string",
"max":2048,
"min":1,
"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-:.]+)$"
"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})?$"
},
"Boolean":{
"type":"boolean",
Expand Down
2 changes: 1 addition & 1 deletion apis/bedrock-agent/2023-06-05/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
"BedrockEmbeddingModelArn": {
"base": null,
"refs": {
"VectorKnowledgeBaseConfiguration$embeddingModelArn": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>"
"VectorKnowledgeBaseConfiguration$embeddingModelArn": "<p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>"
}
},
"BedrockEmbeddingModelConfiguration": {
Expand Down
170 changes: 168 additions & 2 deletions apis/docdb-elastic/2022-11-28/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,35 @@
"endpointPrefix":"docdb-elastic",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceAbbreviation":"DocDB Elastic",
"serviceFullName":"Amazon DocumentDB Elastic Clusters",
"serviceId":"DocDB Elastic",
"signatureVersion":"v4",
"signingName":"docdb-elastic",
"uid":"docdb-elastic-2022-11-28"
"uid":"docdb-elastic-2022-11-28",
"auth":["aws.auth#sigv4"]
},
"operations":{
"ApplyPendingMaintenanceAction":{
"name":"ApplyPendingMaintenanceAction",
"http":{
"method":"POST",
"requestUri":"/pending-action",
"responseCode":200
},
"input":{"shape":"ApplyPendingMaintenanceActionInput"},
"output":{"shape":"ApplyPendingMaintenanceActionOutput"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"InternalServerException"},
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"}
],
"idempotent":true
},
"CopyClusterSnapshot":{
"name":"CopyClusterSnapshot",
"http":{
Expand Down Expand Up @@ -144,6 +165,24 @@
{"shape":"AccessDeniedException"}
]
},
"GetPendingMaintenanceAction":{
"name":"GetPendingMaintenanceAction",
"http":{
"method":"GET",
"requestUri":"/pending-action/{resourceArn}",
"responseCode":200
},
"input":{"shape":"GetPendingMaintenanceActionInput"},
"output":{"shape":"GetPendingMaintenanceActionOutput"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"InternalServerException"},
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"}
]
},
"ListClusterSnapshots":{
"name":"ListClusterSnapshots",
"http":{
Expand Down Expand Up @@ -176,6 +215,22 @@
{"shape":"AccessDeniedException"}
]
},
"ListPendingMaintenanceActions":{
"name":"ListPendingMaintenanceActions",
"http":{
"method":"GET",
"requestUri":"/pending-actions",
"responseCode":200
},
"input":{"shape":"ListPendingMaintenanceActionsInput"},
"output":{"shape":"ListPendingMaintenanceActionsOutput"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"AccessDeniedException"}
]
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
Expand Down Expand Up @@ -314,6 +369,27 @@
},
"exception":true
},
"ApplyPendingMaintenanceActionInput":{
"type":"structure",
"required":[
"applyAction",
"optInType",
"resourceArn"
],
"members":{
"applyAction":{"shape":"InputString"},
"applyOn":{"shape":"InputString"},
"optInType":{"shape":"OptInType"},
"resourceArn":{"shape":"InputString"}
}
},
"ApplyPendingMaintenanceActionOutput":{
"type":"structure",
"required":["resourcePendingMaintenanceAction"],
"members":{
"resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"}
}
},
"Arn":{
"type":"string",
"max":1011,
Expand Down Expand Up @@ -615,6 +691,29 @@
"snapshot":{"shape":"ClusterSnapshot"}
}
},
"GetPendingMaintenanceActionInput":{
"type":"structure",
"required":["resourceArn"],
"members":{
"resourceArn":{
"shape":"InputString",
"location":"uri",
"locationName":"resourceArn"
}
}
},
"GetPendingMaintenanceActionOutput":{
"type":"structure",
"required":["resourcePendingMaintenanceAction"],
"members":{
"resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"}
}
},
"InputString":{
"type":"string",
"max":256,
"min":1
},
"Integer":{
"type":"integer",
"box":true
Expand Down Expand Up @@ -696,6 +795,35 @@
"nextToken":{"shape":"PaginationToken"}
}
},
"ListPendingMaintenanceActionsInput":{
"type":"structure",
"members":{
"maxResults":{
"shape":"ListPendingMaintenanceActionsInputMaxResultsInteger",
"location":"querystring",
"locationName":"maxResults"
},
"nextToken":{
"shape":"PaginationToken",
"location":"querystring",
"locationName":"nextToken"
}
}
},
"ListPendingMaintenanceActionsInputMaxResultsInteger":{
"type":"integer",
"box":true,
"max":100,
"min":1
},
"ListPendingMaintenanceActionsOutput":{
"type":"structure",
"required":["resourcePendingMaintenanceActions"],
"members":{
"nextToken":{"shape":"PaginationToken"},
"resourcePendingMaintenanceActions":{"shape":"ResourcePendingMaintenanceActionList"}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
Expand All @@ -713,11 +841,36 @@
"tags":{"shape":"TagMap"}
}
},
"OptInType":{
"type":"string",
"enum":[
"IMMEDIATE",
"NEXT_MAINTENANCE",
"APPLY_ON",
"UNDO_OPT_IN"
]
},
"PaginationToken":{"type":"string"},
"Password":{
"type":"string",
"sensitive":true
},
"PendingMaintenanceActionDetails":{
"type":"structure",
"required":["action"],
"members":{
"action":{"shape":"String"},
"autoAppliedAfterDate":{"shape":"String"},
"currentApplyDate":{"shape":"String"},
"description":{"shape":"String"},
"forcedApplyDate":{"shape":"String"},
"optInStatus":{"shape":"String"}
}
},
"PendingMaintenanceActionDetailsList":{
"type":"list",
"member":{"shape":"PendingMaintenanceActionDetails"}
},
"ResourceNotFoundException":{
"type":"structure",
"required":[
Expand All @@ -736,6 +889,17 @@
},
"exception":true
},
"ResourcePendingMaintenanceAction":{
"type":"structure",
"members":{
"pendingMaintenanceActionDetails":{"shape":"PendingMaintenanceActionDetailsList"},
"resourceArn":{"shape":"String"}
}
},
"ResourcePendingMaintenanceActionList":{
"type":"list",
"member":{"shape":"ResourcePendingMaintenanceAction"}
},
"RestoreClusterFromSnapshotInput":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -839,7 +1003,9 @@
"COPYING",
"STARTING",
"STOPPING",
"STOPPED"
"STOPPED",
"MAINTENANCE",
"INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
]
},
"StopClusterInput":{
Expand Down
Loading

0 comments on commit be5265a

Please sign in to comment.