Skip to content

Commit

Permalink
Update to latest models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-python-automation committed Nov 1, 2024
1 parent d1406f1 commit 59ba1f7
Show file tree
Hide file tree
Showing 10 changed files with 482 additions and 15 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-bedrockagent-84328.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``bedrock-agent``",
"description": "Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-docdbelastic-733.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``docdb-elastic``",
"description": "Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-logs-53637.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``logs``",
"description": "This release introduces an improvement in PutLogEvents"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-taxsettings-84056.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``taxsettings``",
"description": "Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration."
}
10 changes: 6 additions & 4 deletions botocore/data/bedrock-agent/2023-06-05/service-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 @@ -1996,7 +1998,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 Down Expand Up @@ -2027,7 +2029,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 Expand Up @@ -8170,7 +8172,7 @@
"members":{
"embeddingModelArn":{
"shape":"BedrockEmbeddingModelArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>"
"documentation":"<p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>"
},
"embeddingModelConfiguration":{
"shape":"EmbeddingModelConfiguration",
Expand Down
6 changes: 6 additions & 0 deletions botocore/data/docdb-elastic/2022-11-28/paginators-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "clusters"
},
"ListPendingMaintenanceActions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "resourcePendingMaintenanceActions"
}
}
}
228 changes: 225 additions & 3 deletions botocore/data/docdb-elastic/2022-11-28/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,36 @@
"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"}
],
"documentation":"<p>The type of pending maintenance action to be applied to the resource.</p>",
"idempotent":true
},
"CopyClusterSnapshot":{
"name":"CopyClusterSnapshot",
"http":{
Expand Down Expand Up @@ -151,6 +173,25 @@
],
"documentation":"<p>Returns information about a specific elastic cluster snapshot</p>"
},
"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"}
],
"documentation":"<p>Retrieves all maintenance actions that are pending.</p>"
},
"ListClusterSnapshots":{
"name":"ListClusterSnapshots",
"http":{
Expand Down Expand Up @@ -185,6 +226,23 @@
],
"documentation":"<p>Returns information about provisioned Amazon DocumentDB elastic clusters.</p>"
},
"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"}
],
"documentation":"<p>Retrieves a list of all maintenance actions that are pending.</p>"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
Expand Down Expand Up @@ -334,6 +392,42 @@
},
"exception":true
},
"ApplyPendingMaintenanceActionInput":{
"type":"structure",
"required":[
"applyAction",
"optInType",
"resourceArn"
],
"members":{
"applyAction":{
"shape":"InputString",
"documentation":"<p>The pending maintenance action to apply to the resource.</p> <p>Valid actions are:</p> <ul> <li> <p> <code>ENGINE_UPDATE<i/> </code> </p> </li> <li> <p> <code>ENGINE_UPGRADE</code> </p> </li> <li> <p> <code>SECURITY_UPDATE</code> </p> </li> <li> <p> <code>OS_UPDATE</code> </p> </li> <li> <p> <code>MASTER_USER_PASSWORD_UPDATE</code> </p> </li> </ul>"
},
"applyOn":{
"shape":"InputString",
"documentation":"<p>A specific date to apply the pending maintenance action. Required if opt-in-type is <code>APPLY_ON</code>. Format: <code>yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm</code> </p>"
},
"optInType":{
"shape":"OptInType",
"documentation":"<p>A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type <code>IMMEDIATE</code> can't be undone.</p>"
},
"resourceArn":{
"shape":"InputString",
"documentation":"<p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>"
}
}
},
"ApplyPendingMaintenanceActionOutput":{
"type":"structure",
"required":["resourcePendingMaintenanceAction"],
"members":{
"resourcePendingMaintenanceAction":{
"shape":"ResourcePendingMaintenanceAction",
"documentation":"<p>The output of the pending maintenance action being applied.</p>"
}
}
},
"Arn":{
"type":"string",
"max":1011,
Expand Down Expand Up @@ -841,6 +935,33 @@
}
}
},
"GetPendingMaintenanceActionInput":{
"type":"structure",
"required":["resourceArn"],
"members":{
"resourceArn":{
"shape":"InputString",
"documentation":"<p>Retrieves pending maintenance actions for a specific Amazon Resource Name (ARN).</p>",
"location":"uri",
"locationName":"resourceArn"
}
}
},
"GetPendingMaintenanceActionOutput":{
"type":"structure",
"required":["resourcePendingMaintenanceAction"],
"members":{
"resourcePendingMaintenanceAction":{
"shape":"ResourcePendingMaintenanceAction",
"documentation":"<p>Provides information about a pending maintenance action for a resource.</p>"
}
}
},
"InputString":{
"type":"string",
"max":256,
"min":1
},
"Integer":{
"type":"integer",
"box":true
Expand Down Expand Up @@ -941,6 +1062,43 @@
}
}
},
"ListPendingMaintenanceActionsInput":{
"type":"structure",
"members":{
"maxResults":{
"shape":"ListPendingMaintenanceActionsInputMaxResultsInteger",
"documentation":"<p>The maximum number of results to include in the response. If more records exist than the specified <code>maxResults</code> value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.</p>",
"location":"querystring",
"locationName":"maxResults"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>",
"location":"querystring",
"locationName":"nextToken"
}
}
},
"ListPendingMaintenanceActionsInputMaxResultsInteger":{
"type":"integer",
"box":true,
"max":100,
"min":1
},
"ListPendingMaintenanceActionsOutput":{
"type":"structure",
"required":["resourcePendingMaintenanceActions"],
"members":{
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>"
},
"resourcePendingMaintenanceActions":{
"shape":"ResourcePendingMaintenanceActionList",
"documentation":"<p>Provides information about a pending maintenance action for a resource.</p>"
}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
Expand All @@ -962,14 +1120,58 @@
}
}
},
"OptInType":{
"type":"string",
"enum":[
"IMMEDIATE",
"NEXT_MAINTENANCE",
"APPLY_ON",
"UNDO_OPT_IN"
]
},
"PaginationToken":{
"type":"string",
"documentation":"<p>Token or cursor used in paginated operations.</p> <p>When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve.</p> <p>This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy.</p>"
"documentation":"<pre><code>Token or cursor used in paginated operations. When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve. This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy. </code></pre>"
},
"Password":{
"type":"string",
"sensitive":true
},
"PendingMaintenanceActionDetails":{
"type":"structure",
"required":["action"],
"members":{
"action":{
"shape":"String",
"documentation":"<p>Displays the specific action of a pending maintenance action.</p>"
},
"autoAppliedAfterDate":{
"shape":"String",
"documentation":"<p>Displays the date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any <code>NEXT_MAINTENANCE</code> <code>optInType</code> requests are ignored.</p>"
},
"currentApplyDate":{
"shape":"String",
"documentation":"<p>Displays the effective date when the pending maintenance action is applied to the resource.</p>"
},
"description":{
"shape":"String",
"documentation":"<p>Displays a description providing more detail about the maintenance action.</p>"
},
"forcedApplyDate":{
"shape":"String",
"documentation":"<p>Displays the date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any <code>IMMEDIATE</code> <code>optInType</code> requests are ignored.</p>"
},
"optInStatus":{
"shape":"String",
"documentation":"<p>Displays the type of <code>optInType</code> request that has been received for the resource.</p>"
}
},
"documentation":"<p>Retrieves the details of maintenance actions that are pending.</p>"
},
"PendingMaintenanceActionDetailsList":{
"type":"list",
"member":{"shape":"PendingMaintenanceActionDetails"}
},
"ResourceNotFoundException":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -998,6 +1200,24 @@
},
"exception":true
},
"ResourcePendingMaintenanceAction":{
"type":"structure",
"members":{
"pendingMaintenanceActionDetails":{
"shape":"PendingMaintenanceActionDetailsList",
"documentation":"<p>Provides information about a pending maintenance action for a resource.</p>"
},
"resourceArn":{
"shape":"String",
"documentation":"<p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>"
}
},
"documentation":"<p>Provides information about a pending maintenance action for a resource.</p>"
},
"ResourcePendingMaintenanceActionList":{
"type":"list",
"member":{"shape":"ResourcePendingMaintenanceAction"}
},
"RestoreClusterFromSnapshotInput":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -1138,7 +1358,9 @@
"COPYING",
"STARTING",
"STOPPING",
"STOPPED"
"STOPPED",
"MAINTENANCE",
"INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
]
},
"StopClusterInput":{
Expand Down
2 changes: 1 addition & 1 deletion botocore/data/logs/2014-03-28/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2663,7 +2663,7 @@
"type":"map",
"key":{"shape":"EntityKeyAttributesKey"},
"value":{"shape":"EntityKeyAttributesValue"},
"max":3,
"max":4,
"min":2
},
"EntityKeyAttributesKey":{
Expand Down
Loading

0 comments on commit 59ba1f7

Please sign in to comment.