From 876f12c86fc8dda7db839c3a0b79b8ce4fac6c01 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 13 Nov 2024 19:06:37 +0000 Subject: [PATCH 1/3] Update to latest models --- .../api-change-accessanalyzer-71471.json | 5 + .../api-change-applicationsignals-11102.json | 5 + .../next-release/api-change-b2bi-83226.json | 5 + .../api-change-billing-74206.json | 5 + .../api-change-cloudtrail-7305.json | 5 + .../api-change-dynamodb-48126.json | 5 + .../next-release/api-change-ec2-70235.json | 5 + .../api-change-internetmonitor-89083.json | 5 + .../api-change-mediaconvert-44557.json | 5 + .../api-change-organizations-19332.json | 5 + .../accessanalyzer/2019-11-01/service-2.json | 34 +- .../2024-04-15/service-2.json | 37 ++- botocore/data/b2bi/2022-06-23/service-2.json | 71 +++- .../2023-09-07/endpoint-rule-set-1.json | 151 +++++++++ .../data/billing/2023-09-07/paginators-1.json | 10 + .../data/billing/2023-09-07/service-2.json | 235 +++++++++++++ .../data/billing/2023-09-07/waiters-2.json | 5 + .../data/cloudtrail/2013-11-01/service-2.json | 83 ++++- .../data/dynamodb/2012-08-10/service-2.json | 86 +++++ botocore/data/ec2/2016-11-15/service-2.json | 36 +- .../internetmonitor/2021-06-03/service-2.json | 5 +- .../mediaconvert/2017-08-29/service-2.json | 20 +- .../organizations/2016-11-28/service-2.json | 19 +- .../billing/endpoint-tests-1.json | 313 ++++++++++++++++++ 24 files changed, 1112 insertions(+), 43 deletions(-) create mode 100644 .changes/next-release/api-change-accessanalyzer-71471.json create mode 100644 .changes/next-release/api-change-applicationsignals-11102.json create mode 100644 .changes/next-release/api-change-b2bi-83226.json create mode 100644 .changes/next-release/api-change-billing-74206.json create mode 100644 .changes/next-release/api-change-cloudtrail-7305.json create mode 100644 .changes/next-release/api-change-dynamodb-48126.json create mode 100644 .changes/next-release/api-change-ec2-70235.json create mode 100644 .changes/next-release/api-change-internetmonitor-89083.json create mode 100644 .changes/next-release/api-change-mediaconvert-44557.json create mode 100644 .changes/next-release/api-change-organizations-19332.json create mode 100644 botocore/data/billing/2023-09-07/endpoint-rule-set-1.json create mode 100644 botocore/data/billing/2023-09-07/paginators-1.json create mode 100644 botocore/data/billing/2023-09-07/service-2.json create mode 100644 botocore/data/billing/2023-09-07/waiters-2.json create mode 100644 tests/functional/endpoint-rules/billing/endpoint-tests-1.json diff --git a/.changes/next-release/api-change-accessanalyzer-71471.json b/.changes/next-release/api-change-accessanalyzer-71471.json new file mode 100644 index 0000000000..b1f474424d --- /dev/null +++ b/.changes/next-release/api-change-accessanalyzer-71471.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``accessanalyzer``", + "description": "This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators." +} diff --git a/.changes/next-release/api-change-applicationsignals-11102.json b/.changes/next-release/api-change-applicationsignals-11102.json new file mode 100644 index 0000000000..11eff71864 --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-11102.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements." +} diff --git a/.changes/next-release/api-change-b2bi-83226.json b/.changes/next-release/api-change-b2bi-83226.json new file mode 100644 index 0000000000..158495cb45 --- /dev/null +++ b/.changes/next-release/api-change-b2bi-83226.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``b2bi``", + "description": "This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples." +} diff --git a/.changes/next-release/api-change-billing-74206.json b/.changes/next-release/api-change-billing-74206.json new file mode 100644 index 0000000000..484c67db5b --- /dev/null +++ b/.changes/next-release/api-change-billing-74206.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``billing``", + "description": "Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically." +} diff --git a/.changes/next-release/api-change-cloudtrail-7305.json b/.changes/next-release/api-change-cloudtrail-7305.json new file mode 100644 index 0000000000..2a597d1381 --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-7305.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt." +} diff --git a/.changes/next-release/api-change-dynamodb-48126.json b/.changes/next-release/api-change-dynamodb-48126.json new file mode 100644 index 0000000000..a3403dc0b4 --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-48126.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value." +} diff --git a/.changes/next-release/api-change-ec2-70235.json b/.changes/next-release/api-change-ec2-70235.json new file mode 100644 index 0000000000..7624b37ee5 --- /dev/null +++ b/.changes/next-release/api-change-ec2-70235.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds the source AMI details in DescribeImages API" +} diff --git a/.changes/next-release/api-change-internetmonitor-89083.json b/.changes/next-release/api-change-internetmonitor-89083.json new file mode 100644 index 0000000000..c33fe605ea --- /dev/null +++ b/.changes/next-release/api-change-internetmonitor-89083.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``internetmonitor``", + "description": "Add new query type Routing_Suggestions regarding querying interface" +} diff --git a/.changes/next-release/api-change-mediaconvert-44557.json b/.changes/next-release/api-change-mediaconvert-44557.json new file mode 100644 index 0000000000..7c862e33f8 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-44557.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs." +} diff --git a/.changes/next-release/api-change-organizations-19332.json b/.changes/next-release/api-change-organizations-19332.json new file mode 100644 index 0000000000..752eedcc85 --- /dev/null +++ b/.changes/next-release/api-change-organizations-19332.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Add support for policy operations on the Resource Control Polices." +} diff --git a/botocore/data/accessanalyzer/2019-11-01/service-2.json b/botocore/data/accessanalyzer/2019-11-01/service-2.json index a111c26aa6..20ff9adb88 100644 --- a/botocore/data/accessanalyzer/2019-11-01/service-2.json +++ b/botocore/data/accessanalyzer/2019-11-01/service-2.json @@ -2,6 +2,7 @@ "version":"2.0", "metadata":{ "apiVersion":"2019-11-01", + "auth":["aws.auth#sigv4"], "endpointPrefix":"access-analyzer", "protocol":"rest-json", "protocols":["rest-json"], @@ -660,7 +661,7 @@ }, "resources":{ "shape":"AccessResourcesList", - "documentation":"

A list of resources for the access permissions. Any strings that can be used as a resource in an IAM policy can be used in the list of resources to check.

" + "documentation":"

A list of resources for the access permissions. Any strings that can be used as an Amazon Resource Name (ARN) in an IAM policy can be used in the list of resources to check. You can only use a wildcard in the portion of the ARN that specifies the resource ID.

" } }, "documentation":"

Contains information about actions and resources that define permissions to check against a policy.

" @@ -830,6 +831,10 @@ "sources":{ "shape":"FindingSourceList", "documentation":"

The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

" + }, + "resourceControlPolicyRestriction":{ + "shape":"ResourceControlPolicyRestriction", + "documentation":"

The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

" } }, "documentation":"

An access preview finding generated by the access preview.

" @@ -1197,11 +1202,11 @@ }, "access":{ "shape":"CheckAccessNotGrantedRequestAccessList", - "documentation":"

An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.

" + "documentation":"

An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least one of the actions on any resource in the policy. If only resources are specified, then IAM Access Analyzer checks for access to perform any action on at least one of the resources. If both actions and resources are specified, IAM Access Analyzer checks for access to perform at least one of the specified actions on at least one of the specified resources.

" }, "policyType":{ "shape":"AccessCheckPolicyType", - "documentation":"

The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.

Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.

" + "documentation":"

The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.

Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets.

" } } }, @@ -1749,6 +1754,10 @@ "sources":{ "shape":"FindingSourceList", "documentation":"

The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

" + }, + "resourceControlPolicyRestriction":{ + "shape":"ResourceControlPolicyRestriction", + "documentation":"

The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

" } }, "documentation":"

Contains information about an external access finding.

" @@ -1826,6 +1835,10 @@ "sources":{ "shape":"FindingSourceList", "documentation":"

The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

" + }, + "resourceControlPolicyRestriction":{ + "shape":"ResourceControlPolicyRestriction", + "documentation":"

The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

" } }, "documentation":"

Contains information about a finding.

" @@ -1999,6 +2012,10 @@ "sources":{ "shape":"FindingSourceList", "documentation":"

The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

" + }, + "resourceControlPolicyRestriction":{ + "shape":"ResourceControlPolicyRestriction", + "documentation":"

The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

" } }, "documentation":"

Contains information about a finding.

" @@ -3256,7 +3273,8 @@ "enum":[ "IDENTITY_POLICY", "RESOURCE_POLICY", - "SERVICE_CONTROL_POLICY" + "SERVICE_CONTROL_POLICY", + "RESOURCE_CONTROL_POLICY" ] }, "Position":{ @@ -3453,6 +3471,14 @@ "type":"string", "pattern":"arn:[^:]*:[^:]*:[^:]*:[^:]*:.*" }, + "ResourceControlPolicyRestriction":{ + "type":"string", + "enum":[ + "APPLICABLE", + "FAILED_TO_EVALUATE_RCP", + "NOT_APPLICABLE" + ] + }, "ResourceNotFoundException":{ "type":"structure", "required":[ diff --git a/botocore/data/application-signals/2024-04-15/service-2.json b/botocore/data/application-signals/2024-04-15/service-2.json index 1d944fe2a1..e23bc3d426 100644 --- a/botocore/data/application-signals/2024-04-15/service-2.json +++ b/botocore/data/application-signals/2024-04-15/service-2.json @@ -342,6 +342,29 @@ "type":"integer", "box":true }, + "BurnRateConfiguration":{ + "type":"structure", + "required":["LookBackWindowMinutes"], + "members":{ + "LookBackWindowMinutes":{ + "shape":"BurnRateLookBackWindowMinutes", + "documentation":"

The number of minutes to use as the look-back window.

" + } + }, + "documentation":"

This object defines the length of the look-back window used to calculate one burn rate metric for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO. A burn rate of exactly 1 indicates that the SLO goal will be met exactly.

For example, if you specify 60 as the number of minutes in the look-back window, the burn rate is calculated as the following:

burn rate = error rate over the look-back window / (1 - attainment goal percentage)

For more information about burn rates, see Calculate burn rates.

" + }, + "BurnRateConfigurations":{ + "type":"list", + "member":{"shape":"BurnRateConfiguration"}, + "max":10, + "min":0 + }, + "BurnRateLookBackWindowMinutes":{ + "type":"integer", + "box":true, + "max":10080, + "min":1 + }, "CalendarInterval":{ "type":"structure", "required":[ @@ -410,6 +433,10 @@ "Tags":{ "shape":"TagList", "documentation":"

A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

" + }, + "BurnRateConfigurations":{ + "shape":"BurnRateConfigurations", + "documentation":"

Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.

" } } }, @@ -1535,7 +1562,11 @@ "shape":"EvaluationType", "documentation":"

Displays whether this is a period-based SLO or a request-based SLO.

" }, - "Goal":{"shape":"Goal"} + "Goal":{"shape":"Goal"}, + "BurnRateConfigurations":{ + "shape":"BurnRateConfigurations", + "documentation":"

Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.

" + } }, "documentation":"

A structure containing information about one service level objective (SLO) that has been created in Application Signals. Creating SLOs can help you ensure your services are performing to the level that you expect. SLOs help you set and track a specific target level for the reliability and availability of your applications and services. Each SLO uses a service level indicator (SLI), which is a key performance metric, to calculate how much underperformance can be tolerated before the goal that you set for the SLO is not achieved.

" }, @@ -1940,6 +1971,10 @@ "Goal":{ "shape":"Goal", "documentation":"

A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.

" + }, + "BurnRateConfigurations":{ + "shape":"BurnRateConfigurations", + "documentation":"

Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.

" } } }, diff --git a/botocore/data/b2bi/2022-06-23/service-2.json b/botocore/data/b2bi/2022-06-23/service-2.json index 9b4e349d7f..16aa860abe 100644 --- a/botocore/data/b2bi/2022-06-23/service-2.json +++ b/botocore/data/b2bi/2022-06-23/service-2.json @@ -184,6 +184,23 @@ "documentation":"

Deletes the specified transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.

", "idempotent":true }, + "GenerateMapping":{ + "name":"GenerateMapping", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GenerateMappingRequest"}, + "output":{"shape":"GenerateMappingResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Takes sample input and output documents and uses Amazon Bedrock to generate a mapping automatically. Depending on the accuracy and other factors, you can then edit the mapping for your needs.

Before you can use the AI-assisted feature for Amazon Web Services B2B Data Interchange you must enable models in Amazon Bedrock. For details, see AI-assisted template mapping prerequisites in the Amazon Web Services B2B Data Interchange User guide.

", + "idempotent":true + }, "GetCapability":{ "name":"GetCapability", "http":{ @@ -1248,6 +1265,58 @@ "type":"string", "enum":["X12"] }, + "GenerateMappingInputFileContent":{ + "type":"string", + "max":5000000, + "min":0 + }, + "GenerateMappingOutputFileContent":{ + "type":"string", + "max":5000000, + "min":0 + }, + "GenerateMappingRequest":{ + "type":"structure", + "required":[ + "inputFileContent", + "outputFileContent", + "mappingType" + ], + "members":{ + "inputFileContent":{ + "shape":"GenerateMappingInputFileContent", + "documentation":"

Provide the contents of a sample X12 EDI file (for inbound EDI) or JSON/XML file (for outbound EDI) to use as a starting point for the mapping.

" + }, + "outputFileContent":{ + "shape":"GenerateMappingOutputFileContent", + "documentation":"

Provide the contents of a sample X12 EDI file (for outbound EDI) or JSON/XML file (for inbound EDI) to use as a target for the mapping.

" + }, + "mappingType":{ + "shape":"MappingType", + "documentation":"

Specify the mapping type: either JSONATA or XSLT.

" + } + } + }, + "GenerateMappingResponse":{ + "type":"structure", + "required":["mappingTemplate"], + "members":{ + "mappingTemplate":{ + "shape":"String", + "documentation":"

Returns a mapping template based on your inputs.

" + }, + "mappingAccuracy":{ + "shape":"GenerateMappingResponseMappingAccuracyFloat", + "documentation":"

Returns a percentage that estimates the accuracy of the generated mapping.

" + } + } + }, + "GenerateMappingResponseMappingAccuracyFloat":{ + "type":"float", + "box":true, + "max":1.0, + "min":0.0 + }, "GetCapabilityRequest":{ "type":"structure", "required":["capabilityId"], @@ -2646,7 +2715,7 @@ }, "status":{ "shape":"TransformerStatus", - "documentation":"

Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.

" + "documentation":"

Specifies the transformer's status. You can update the state of the transformer from inactive to active.

" }, "fileFormat":{ "shape":"FileFormat", diff --git a/botocore/data/billing/2023-09-07/endpoint-rule-set-1.json b/botocore/data/billing/2023-09-07/endpoint-rule-set-1.json new file mode 100644 index 0000000000..3da78424ff --- /dev/null +++ b/botocore/data/billing/2023-09-07/endpoint-rule-set-1.json @@ -0,0 +1,151 @@ +{ + "version": "1.0", + "parameters": { + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "endpoint": { + "url": "https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] +} \ No newline at end of file diff --git a/botocore/data/billing/2023-09-07/paginators-1.json b/botocore/data/billing/2023-09-07/paginators-1.json new file mode 100644 index 0000000000..73eb95fc8d --- /dev/null +++ b/botocore/data/billing/2023-09-07/paginators-1.json @@ -0,0 +1,10 @@ +{ + "pagination": { + "ListBillingViews": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "billingViews" + } + } +} diff --git a/botocore/data/billing/2023-09-07/service-2.json b/botocore/data/billing/2023-09-07/service-2.json new file mode 100644 index 0000000000..bb55ce95e4 --- /dev/null +++ b/botocore/data/billing/2023-09-07/service-2.json @@ -0,0 +1,235 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2023-09-07", + "auth":["aws.auth#sigv4"], + "endpointPrefix":"billing", + "jsonVersion":"1.0", + "protocol":"json", + "protocols":["json"], + "serviceFullName":"AWS Billing", + "serviceId":"Billing", + "signatureVersion":"v4", + "signingName":"billing", + "targetPrefix":"AWSBilling", + "uid":"billing-2023-09-07" + }, + "operations":{ + "ListBillingViews":{ + "name":"ListBillingViews", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListBillingViewsRequest"}, + "output":{"shape":"ListBillingViewsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Lists the billing views available for a given time period.

Every Amazon Web Services account has a unique PRIMARY billing view that represents the billing data available by default. Accounts that use Billing Conductor also have BILLING_GROUP billing views representing pro forma costs associated with each created billing group.

" + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

You don't have sufficient access to perform this action.

", + "exception":true + }, + "AccountId":{ + "type":"string", + "pattern":"[0-9]{12}" + }, + "ActiveTimeRange":{ + "type":"structure", + "required":[ + "activeAfterInclusive", + "activeBeforeInclusive" + ], + "members":{ + "activeAfterInclusive":{ + "shape":"Timestamp", + "documentation":"

The inclusive time range start date.

" + }, + "activeBeforeInclusive":{ + "shape":"Timestamp", + "documentation":"

The inclusive time range end date.

" + } + }, + "documentation":"

A time range with a start and end time.

" + }, + "BillingViewArn":{ + "type":"string", + "pattern":"arn:aws[a-z-]*:(billing)::[0-9]{12}:billingview/[a-zA-Z0-9_\\+=\\.\\-@]{1,43}" + }, + "BillingViewList":{ + "type":"list", + "member":{"shape":"BillingViewListElement"} + }, + "BillingViewListElement":{ + "type":"structure", + "members":{ + "arn":{ + "shape":"BillingViewArn", + "documentation":"

The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.

" + }, + "name":{ + "shape":"BillingViewName", + "documentation":"

A list of names of the Billing view.

" + }, + "ownerAccountId":{ + "shape":"AccountId", + "documentation":"

The list of owners of the Billing view.

" + }, + "billingViewType":{ + "shape":"BillingViewType", + "documentation":"

The type of billing view.

" + } + }, + "documentation":"

A representation of a billing view.

" + }, + "BillingViewName":{ + "type":"string", + "pattern":"[ a-zA-Z0-9_\\+=\\.\\-@]+", + "sensitive":true + }, + "BillingViewType":{ + "type":"string", + "enum":[ + "PRIMARY", + "BILLING_GROUP" + ] + }, + "BillingViewsMaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ErrorMessage":{ + "type":"string", + "max":1024, + "min":0 + }, + "FieldName":{ + "type":"string", + "max":100, + "min":0 + }, + "InternalServerException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

The request processing failed because of an unknown error, exception, or failure.

", + "exception":true, + "fault":true + }, + "ListBillingViewsRequest":{ + "type":"structure", + "required":["activeTimeRange"], + "members":{ + "activeTimeRange":{ + "shape":"ActiveTimeRange", + "documentation":"

The time range for the billing views listed. PRIMARY billing view is always listed. BILLING_GROUP billing views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.

" + }, + "maxResults":{ + "shape":"BillingViewsMaxResults", + "documentation":"

The maximum number of billing views to retrieve. Default is 100.

" + }, + "nextToken":{ + "shape":"PageToken", + "documentation":"

The pagination token that is used on subsequent calls to list billing views.

" + } + } + }, + "ListBillingViewsResponse":{ + "type":"structure", + "required":["billingViews"], + "members":{ + "billingViews":{ + "shape":"BillingViewList", + "documentation":"

A list of BillingViewListElement retrieved.

" + }, + "nextToken":{ + "shape":"PageToken", + "documentation":"

The pagination token to use on subsequent calls to list billing views.

" + } + } + }, + "PageToken":{ + "type":"string", + "max":2047, + "min":1 + }, + "ThrottlingException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

The request was denied due to request throttling.

", + "exception":true + }, + "Timestamp":{"type":"timestamp"}, + "ValidationException":{ + "type":"structure", + "required":[ + "message", + "reason" + ], + "members":{ + "message":{"shape":"ErrorMessage"}, + "reason":{ + "shape":"ValidationExceptionReason", + "documentation":"

The input fails to satisfy the constraints specified by an Amazon Web Services service.

" + }, + "fieldList":{ + "shape":"ValidationExceptionFieldList", + "documentation":"

The input fails to satisfy the constraints specified by an Amazon Web Services service.

" + } + }, + "documentation":"

The input fails to satisfy the constraints specified by an Amazon Web Services service.

", + "exception":true + }, + "ValidationExceptionField":{ + "type":"structure", + "required":[ + "name", + "message" + ], + "members":{ + "name":{ + "shape":"FieldName", + "documentation":"

The name of the field.

" + }, + "message":{ + "shape":"ErrorMessage", + "documentation":"

The message describing why the field failed validation.

" + } + }, + "documentation":"

The field's information of a request that resulted in an exception.

" + }, + "ValidationExceptionFieldList":{ + "type":"list", + "member":{"shape":"ValidationExceptionField"} + }, + "ValidationExceptionReason":{ + "type":"string", + "enum":[ + "unknownOperation", + "cannotParse", + "fieldValidationFailed", + "other" + ] + } + }, + "documentation":"

You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data.

The Billing API provides the following endpoint:

https://billing.us-east-1.api.aws

" +} diff --git a/botocore/data/billing/2023-09-07/waiters-2.json b/botocore/data/billing/2023-09-07/waiters-2.json new file mode 100644 index 0000000000..13f60ee66b --- /dev/null +++ b/botocore/data/billing/2023-09-07/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/botocore/data/cloudtrail/2013-11-01/service-2.json b/botocore/data/cloudtrail/2013-11-01/service-2.json index 78ea1efa67..765509aa2c 100644 --- a/botocore/data/cloudtrail/2013-11-01/service-2.json +++ b/botocore/data/cloudtrail/2013-11-01/service-2.json @@ -368,6 +368,27 @@ ], "documentation":"

Enables Lake query federation on the specified event data store. Federating an event data store lets you view the metadata associated with the event data store in the Glue Data Catalog and run SQL queries against your event data using Amazon Athena. The table metadata stored in the Glue Data Catalog lets the Athena query engine know how to find, read, and process the data that you want to query.

When you enable Lake query federation, CloudTrail creates a managed database named aws:cloudtrail (if the database doesn't already exist) and a managed federated table in the Glue Data Catalog. The event data store ID is used for the table name. CloudTrail registers the role ARN and event data store in Lake Formation, the service responsible for allowing fine-grained access control of the federated resources in the Glue Data Catalog.

For more information about Lake query federation, see Federate an event data store.

" }, + "GenerateQuery":{ + "name":"GenerateQuery", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GenerateQueryRequest"}, + "output":{"shape":"GenerateQueryResponse"}, + "errors":[ + {"shape":"EventDataStoreARNInvalidException"}, + {"shape":"EventDataStoreNotFoundException"}, + {"shape":"InactiveEventDataStoreException"}, + {"shape":"InvalidParameterException"}, + {"shape":"GenerateResponseException"}, + {"shape":"OperationNotPermittedException"}, + {"shape":"UnsupportedOperationException"}, + {"shape":"NoManagementAccountSLRExistsException"} + ], + "documentation":"

Generates a query from a natural language prompt. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt.

The prompt can be a question or a statement about the event data in your event data store. For example, you can enter prompts like \"What are my top errors in the past month?\" and “Give me a list of users that used SNS.”

The prompt must be in English. For information about limitations, permissions, and supported Regions, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide.

Do not include any personally identifying, confidential, or sensitive information in your prompts.

This feature uses generative AI large language models (LLMs); we recommend double-checking the LLM response.

", + "idempotent":true + }, "GetChannel":{ "name":"GetChannel", "http":{ @@ -847,7 +868,8 @@ {"shape":"UnsupportedOperationException"}, {"shape":"OperationNotPermittedException"}, {"shape":"NotOrganizationMasterAccountException"}, - {"shape":"NoManagementAccountSLRExistsException"} + {"shape":"NoManagementAccountSLRExistsException"}, + {"shape":"ConflictException"} ], "documentation":"

Removes the specified tags from a trail, event data store, or channel.

", "idempotent":true @@ -1220,7 +1242,7 @@ "documentation":"

Contains all selector statements in an advanced event selector.

" } }, - "documentation":"

Advanced event selectors let you create fine-grained selectors for CloudTrail management, data, and network activity events. They help you control costs by logging only those events that are important to you. For more information about configuring advanced event selectors, see the Logging data events, Logging network activity events, and Logging management events topics in the CloudTrail User Guide.

You cannot apply both event selectors and advanced event selectors to a trail.

Supported CloudTrail event record fields for management events

Supported CloudTrail event record fields for data events

Supported CloudTrail event record fields for network activity events

Network activity events is in preview release for CloudTrail and is subject to change.

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

" + "documentation":"

Advanced event selectors let you create fine-grained selectors for CloudTrail management, data, and network activity events. They help you control costs by logging only those events that are important to you. For more information about configuring advanced event selectors, see the Logging data events, Logging network activity events, and Logging management events topics in the CloudTrail User Guide.

You cannot apply both event selectors and advanced event selectors to a trail.

Supported CloudTrail event record fields for management events

The following additional fields are available for event data stores:

Supported CloudTrail event record fields for data events

The following additional fields are available for event data stores:

Supported CloudTrail event record fields for network activity events

Network activity events is in preview release for CloudTrail and is subject to change.

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

" }, "AdvancedEventSelectors":{ "type":"list", @@ -1232,7 +1254,7 @@ "members":{ "Field":{ "shape":"SelectorField", - "documentation":"

A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported.

For CloudTrail management events, supported fields include eventCategory (required), eventSource, and readOnly.

For CloudTrail data events, supported fields include eventCategory (required), resources.type (required), eventName, readOnly, and resources.ARN.

For CloudTrail network activity events, supported fields include eventCategory (required), eventSource (required), eventName, errorCode, and vpcEndpointId.

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

" + "documentation":"

A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported.

For CloudTrail management events, supported fields include eventCategory (required), eventSource, and readOnly. The following additional fields are available for event data stores: eventName, eventType, sessionCredentialFromConsole, and userIdentity.arn.

For CloudTrail data events, supported fields include eventCategory (required), resources.type (required), eventName, readOnly, and resources.ARN. The following additional fields are available for event data stores: eventSource, eventType, sessionCredentialFromConsole, and userIdentity.arn.

For CloudTrail network activity events, supported fields include eventCategory (required), eventSource (required), eventName, errorCode, and vpcEndpointId.

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

" }, "Equals":{ "shape":"Operator", @@ -1683,7 +1705,7 @@ "members":{ "Type":{ "shape":"String", - "documentation":"

The resource type in which you want to log data events. You can specify the following basic event selector resource types:

Additional resource types are available through advanced event selectors. For more information about these additional resource types, see AdvancedFieldSelector.

" + "documentation":"

The resource type in which you want to log data events. You can specify the following basic event selector resource types:

Additional resource types are available through advanced event selectors. For more information, see AdvancedEventSelector.

" }, "Values":{ "shape":"DataResourceValues", @@ -1855,6 +1877,10 @@ "DeliveryStatus":{ "shape":"DeliveryStatus", "documentation":"

The delivery status.

" + }, + "Prompt":{ + "shape":"Prompt", + "documentation":"

The prompt used for a generated query. For information about generated queries, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide.

" } } }, @@ -2130,6 +2156,12 @@ "min":1, "pattern":"^[a-zA-Z0-9._/\\-:]+$" }, + "EventDataStoreList":{ + "type":"list", + "member":{"shape":"EventDataStoreArn"}, + "max":1, + "min":1 + }, "EventDataStoreMaxLimitExceededException":{ "type":"structure", "members":{ @@ -2231,6 +2263,43 @@ "DISABLED" ] }, + "GenerateQueryRequest":{ + "type":"structure", + "required":[ + "EventDataStores", + "Prompt" + ], + "members":{ + "EventDataStores":{ + "shape":"EventDataStoreList", + "documentation":"

The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store.

" + }, + "Prompt":{ + "shape":"Prompt", + "documentation":"

The prompt that you want to use to generate the query. The prompt must be in English. For example prompts, see Example prompts in the CloudTrail user guide.

" + } + } + }, + "GenerateQueryResponse":{ + "type":"structure", + "members":{ + "QueryStatement":{ + "shape":"QueryStatement", + "documentation":"

The SQL query statement generated from the prompt.

" + }, + "QueryAlias":{ + "shape":"QueryAlias", + "documentation":"

An alias that identifies the prompt. When you run the StartQuery operation, you can pass in either the QueryAlias or QueryStatement parameter.

" + } + } + }, + "GenerateResponseException":{ + "type":"structure", + "members":{ + }, + "documentation":"

This exception is thrown when a valid query could not be generated for the provided prompt.

", + "exception":true + }, "GetChannelRequest":{ "type":"structure", "required":["Channel"], @@ -3646,6 +3715,12 @@ "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" }, + "Prompt":{ + "type":"string", + "max":500, + "min":3, + "pattern":"^[ -~\\n]*$" + }, "PublicKey":{ "type":"structure", "members":{ diff --git a/botocore/data/dynamodb/2012-08-10/service-2.json b/botocore/data/dynamodb/2012-08-10/service-2.json index e3511f9b90..a203f64e48 100644 --- a/botocore/data/dynamodb/2012-08-10/service-2.json +++ b/botocore/data/dynamodb/2012-08-10/service-2.json @@ -1977,6 +1977,10 @@ "OnDemandThroughput":{ "shape":"OnDemandThroughput", "documentation":"

The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + }, + "WarmThroughput":{ + "shape":"WarmThroughput", + "documentation":"

Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.

" } }, "documentation":"

Represents a new global secondary index to be added to an existing table.

" @@ -2105,6 +2109,10 @@ "shape":"DeletionProtectionEnabled", "documentation":"

Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.

" }, + "WarmThroughput":{ + "shape":"WarmThroughput", + "documentation":"

Represents the warm throughput (in read units per second and write units per second) for creating a table.

" + }, "ResourcePolicy":{ "shape":"ResourcePolicy", "documentation":"

An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.

When you attach a resource-based policy while creating a table, the policy application is strongly consistent.

The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see Resource-based policy considerations.

You need to specify the CreateTable and PutResourcePolicy IAM actions for authorizing a user to create a table with a resource-based policy.

" @@ -3214,6 +3222,10 @@ "OnDemandThroughput":{ "shape":"OnDemandThroughput", "documentation":"

The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + }, + "WarmThroughput":{ + "shape":"WarmThroughput", + "documentation":"

Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index. If you use this parameter, you must specify ReadUnitsPerSecond, WriteUnitsPerSecond, or both.

" } }, "documentation":"

Represents the properties of a global secondary index.

" @@ -3276,6 +3288,10 @@ "OnDemandThroughput":{ "shape":"OnDemandThroughput", "documentation":"

The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + }, + "WarmThroughput":{ + "shape":"GlobalSecondaryIndexWarmThroughputDescription", + "documentation":"

Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.

" } }, "documentation":"

Represents the properties of a global secondary index.

" @@ -3333,6 +3349,24 @@ "type":"list", "member":{"shape":"GlobalSecondaryIndexUpdate"} }, + "GlobalSecondaryIndexWarmThroughputDescription":{ + "type":"structure", + "members":{ + "ReadUnitsPerSecond":{ + "shape":"PositiveLongObject", + "documentation":"

Represents warm throughput read units per second value for a global secondary index.

" + }, + "WriteUnitsPerSecond":{ + "shape":"PositiveLongObject", + "documentation":"

Represents warm throughput write units per second value for a global secondary index.

" + }, + "Status":{ + "shape":"IndexStatus", + "documentation":"

Represents the warm throughput status being created or updated on a global secondary index. The status can only be UPDATING or ACTIVE.

" + } + }, + "documentation":"

The description of the warm throughput value on a global secondary index.

" + }, "GlobalSecondaryIndexes":{ "type":"list", "member":{"shape":"GlobalSecondaryIndexInfo"} @@ -4908,6 +4942,10 @@ "shape":"OnDemandThroughputOverride", "documentation":"

Overrides the maximum on-demand throughput settings for the specified replica table.

" }, + "WarmThroughput":{ + "shape":"TableWarmThroughputDescription", + "documentation":"

Represents the warm throughput value for this replica.

" + }, "GlobalSecondaryIndexes":{ "shape":"ReplicaGlobalSecondaryIndexDescriptionList", "documentation":"

Replica-specific global secondary index settings.

" @@ -4992,6 +5030,10 @@ "OnDemandThroughputOverride":{ "shape":"OnDemandThroughputOverride", "documentation":"

Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.

" + }, + "WarmThroughput":{ + "shape":"GlobalSecondaryIndexWarmThroughputDescription", + "documentation":"

Represents the warm throughput of the global secondary index for this replica.

" } }, "documentation":"

Represents the properties of a replica global secondary index.

" @@ -5933,6 +5975,10 @@ "OnDemandThroughput":{ "shape":"OnDemandThroughput", "documentation":"

The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + }, + "WarmThroughput":{ + "shape":"TableWarmThroughputDescription", + "documentation":"

Describes the warm throughput value of the base table.

" } }, "documentation":"

Represents the properties of a table.

" @@ -5979,6 +6025,24 @@ "ARCHIVED" ] }, + "TableWarmThroughputDescription":{ + "type":"structure", + "members":{ + "ReadUnitsPerSecond":{ + "shape":"PositiveLongObject", + "documentation":"

Represents the base table's warm throughput value in read units per second.

" + }, + "WriteUnitsPerSecond":{ + "shape":"PositiveLongObject", + "documentation":"

Represents the base table's warm throughput value in write units per second.

" + }, + "Status":{ + "shape":"TableStatus", + "documentation":"

Represents warm throughput value of the base table..

" + } + }, + "documentation":"

Represents the warm throughput value (in read units per second and write units per second) of the base table.

" + }, "Tag":{ "type":"structure", "required":[ @@ -6350,6 +6414,10 @@ "OnDemandThroughput":{ "shape":"OnDemandThroughput", "documentation":"

Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + }, + "WarmThroughput":{ + "shape":"WarmThroughput", + "documentation":"

Represents the warm throughput value of the new provisioned throughput settings to be applied to a global secondary index.

" } }, "documentation":"

Represents the new provisioned throughput settings to be applied to a global secondary index.

" @@ -6630,6 +6698,10 @@ "OnDemandThroughput":{ "shape":"OnDemandThroughput", "documentation":"

Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + }, + "WarmThroughput":{ + "shape":"WarmThroughput", + "documentation":"

Represents the warm throughput (in read units per second and write units per second) for updating a table.

" } }, "documentation":"

Represents the input of an UpdateTable operation.

" @@ -6699,6 +6771,20 @@ } } }, + "WarmThroughput":{ + "type":"structure", + "members":{ + "ReadUnitsPerSecond":{ + "shape":"LongObject", + "documentation":"

Represents the number of read operations your base table can instantaneously support.

" + }, + "WriteUnitsPerSecond":{ + "shape":"LongObject", + "documentation":"

Represents the number of write operations your base table can instantaneously support.

" + } + }, + "documentation":"

Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the UpdateTable operation to meet the throughput requirements of an upcoming peak event.

" + }, "WriteRequest":{ "type":"structure", "members":{ diff --git a/botocore/data/ec2/2016-11-15/service-2.json b/botocore/data/ec2/2016-11-15/service-2.json index 8102c612bc..dbfb8e7cea 100644 --- a/botocore/data/ec2/2016-11-15/service-2.json +++ b/botocore/data/ec2/2016-11-15/service-2.json @@ -608,7 +608,7 @@ }, "input":{"shape":"CreateCapacityReservationBySplittingRequest"}, "output":{"shape":"CreateCapacityReservationBySplittingResult"}, - "documentation":"

Create a new Capacity Reservation by splitting the available capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active and owned by your Amazon Web Services account.

" + "documentation":"

Create a new Capacity Reservation by splitting the capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active and owned by your Amazon Web Services account.

" }, "CreateCapacityReservationFleet":{ "name":"CreateCapacityReservationFleet", @@ -858,7 +858,7 @@ }, "input":{"shape":"CreateKeyPairRequest"}, "output":{"shape":"KeyPair"}, - "documentation":"

Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified PEM or PPK format. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 private key or an unencrypted PPK formatted private key for use with PuTTY. If a key with the specified name already exists, Amazon EC2 returns an error.

The key pair returned to you is available only in the Amazon Web Services Region in which you create it. If you prefer, you can create your own key pair using a third-party tool and upload it to any Region using ImportKeyPair.

You can have up to 5,000 key pairs per Amazon Web Services Region.

For more information, see Amazon EC2 key pairs in the Amazon Elastic Compute Cloud User Guide.

" + "documentation":"

Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified format. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 private key or an unencrypted PPK formatted private key for use with PuTTY. If a key with the specified name already exists, Amazon EC2 returns an error.

The key pair returned to you is available only in the Amazon Web Services Region in which you create it. If you prefer, you can create your own key pair using a third-party tool and upload it to any Region using ImportKeyPair.

You can have up to 5,000 key pairs per Amazon Web Services Region.

For more information, see Amazon EC2 key pairs in the Amazon EC2 User Guide.

" }, "CreateLaunchTemplate":{ "name":"CreateLaunchTemplate", @@ -1077,7 +1077,7 @@ }, "input":{"shape":"CreateSecurityGroupRequest"}, "output":{"shape":"CreateSecurityGroupResult"}, - "documentation":"

Creates a security group.

A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 security groups in the Amazon Elastic Compute Cloud User Guide and Security groups for your VPC in the Amazon Virtual Private Cloud User Guide.

When you create a security group, you specify a friendly name of your choice. You can't have two security groups for the same VPC with the same name.

You have a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.

You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.

For more information about VPC security group limits, see Amazon VPC Limits.

" + "documentation":"

Creates a security group.

A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 security groups in the Amazon EC2 User Guide and Security groups for your VPC in the Amazon VPC User Guide.

When you create a security group, you specify a friendly name of your choice. You can't have two security groups for the same VPC with the same name.

You have a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.

You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.

For more information about VPC security group limits, see Amazon VPC Limits.

" }, "CreateSnapshot":{ "name":"CreateSnapshot", @@ -2905,7 +2905,7 @@ }, "input":{"shape":"DescribeKeyPairsRequest"}, "output":{"shape":"DescribeKeyPairsResult"}, - "documentation":"

Describes the specified key pairs or all of your key pairs.

For more information about key pairs, see Amazon EC2 key pairs in the Amazon Elastic Compute Cloud User Guide.

" + "documentation":"

Describes the specified key pairs or all of your key pairs.

For more information about key pairs, see Amazon EC2 key pairs in the Amazon EC2 User Guide.

" }, "DescribeLaunchTemplateVersions":{ "name":"DescribeLaunchTemplateVersions", @@ -4917,7 +4917,7 @@ }, "input":{"shape":"ImportKeyPairRequest"}, "output":{"shape":"ImportKeyPairResult"}, - "documentation":"

Imports the public key from an RSA or ED25519 key pair that you created with a third-party tool. Compare this with CreateKeyPair, in which Amazon Web Services creates the key pair and gives the keys to you (Amazon Web Services keeps a copy of the public key). With ImportKeyPair, you create the key pair and give Amazon Web Services just the public key. The private key is never transferred between you and Amazon Web Services.

For more information about key pairs, see Amazon EC2 key pairs in the Amazon Elastic Compute Cloud User Guide.

" + "documentation":"

Imports the public key from an RSA or ED25519 key pair that you created using a third-party tool. You give Amazon Web Services only the public key. The private key is never transferred between you and Amazon Web Services.

For more information about the requirements for importing a key pair, see Create a key pair and import the public key to Amazon EC2 in the Amazon EC2 User Guide.

" }, "ImportSnapshot":{ "name":"ImportSnapshot", @@ -12456,7 +12456,7 @@ }, "SourceCapacityReservationId":{ "shape":"CapacityReservationId", - "documentation":"

The ID of the Capacity Reservation from which you want to split the available capacity.

" + "documentation":"

The ID of the Capacity Reservation from which you want to split the capacity.

" }, "InstanceCount":{ "shape":"Integer", @@ -21261,7 +21261,7 @@ }, "Owners":{ "shape":"OwnerStringList", - "documentation":"

Scopes the results to images with the specified owners. You can specify a combination of Amazon Web Services account IDs, self, amazon, and aws-marketplace. If you omit this parameter, the results include all images for which you have launch permissions, regardless of ownership.

", + "documentation":"

Scopes the results to images with the specified owners. You can specify a combination of Amazon Web Services account IDs, self, amazon, aws-backup-vault, and aws-marketplace. If you omit this parameter, the results include all images for which you have launch permissions, regardless of ownership.

", "locationName":"Owner" }, "IncludeDeprecated":{ @@ -21287,7 +21287,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

The filters.

", + "documentation":"

The filters.

", "locationName":"Filter" } } @@ -33895,7 +33895,7 @@ }, "ImageOwnerAlias":{ "shape":"String", - "documentation":"

The owner alias (amazon | aws-marketplace).

", + "documentation":"

The owner alias (amazon | aws-backup-vault | aws-marketplace).

", "locationName":"imageOwnerAlias" }, "Name":{ @@ -33968,6 +33968,16 @@ "documentation":"

The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.

lastLaunchedTime data is available starting April 2017.

", "locationName":"lastLaunchedTime" }, + "SourceImageId":{ + "shape":"String", + "documentation":"

The ID of the source AMI from which the AMI was created.

The ID only appears if the AMI was created using CreateImage, CopyImage, or CreateRestoreImageTask. The ID does not appear if the AMI was created using any other API. For some older AMIs, the ID might not be available. For more information, see Identify the source AMI used to create a new AMI in the Amazon EC2 User Guide.

", + "locationName":"sourceImageId" + }, + "SourceImageRegion":{ + "shape":"String", + "documentation":"

The Region of the source AMI.

The Region only appears if the AMI was created using CreateImage, CopyImage, or CreateRestoreImageTask. The Region does not appear if the AMI was created using any other API. For some older AMIs, the Region might not be available. For more information, see Identify the source AMI used to create a new AMI in the Amazon EC2 User Guide.

", + "locationName":"sourceImageRegion" + }, "ImageId":{ "shape":"String", "documentation":"

The ID of the AMI.

", @@ -34217,7 +34227,7 @@ }, "ImageOwnerAlias":{ "shape":"String", - "documentation":"

The alias of the AMI owner.

Valid values: amazon | aws-marketplace

", + "documentation":"

The alias of the AMI owner.

Valid values: amazon | aws-backup-vault | aws-marketplace

", "locationName":"imageOwnerAlias" }, "CreationDate":{ @@ -34822,7 +34832,7 @@ }, "PublicKeyMaterial":{ "shape":"Blob", - "documentation":"

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

", + "documentation":"

The public key.

", "locationName":"publicKeyMaterial" } } @@ -35357,7 +35367,7 @@ }, "LaunchTime":{ "shape":"DateTime", - "documentation":"

The time the instance was launched.

", + "documentation":"

The time that the instance was last launched. To determine the time that instance was first launched, see the attachment time for the primary network interface.

", "locationName":"launchTime" }, "Placement":{ @@ -52586,7 +52596,7 @@ }, "RevokeAllGroups":{ "shape":"Boolean", - "documentation":"

Indicates whether access should be revoked for all clients.

" + "documentation":"

Indicates whether access should be revoked for all groups for a single TargetNetworkCidr that earlier authorized ingress for all groups using AuthorizeAllGroups. This does not impact other authorization rules that allowed ingress to the same TargetNetworkCidr with a specific AccessGroupId.

" }, "DryRun":{ "shape":"Boolean", diff --git a/botocore/data/internetmonitor/2021-06-03/service-2.json b/botocore/data/internetmonitor/2021-06-03/service-2.json index 1730acc410..fc7c61c010 100644 --- a/botocore/data/internetmonitor/2021-06-03/service-2.json +++ b/botocore/data/internetmonitor/2021-06-03/service-2.json @@ -1570,7 +1570,8 @@ "TOP_LOCATIONS", "TOP_LOCATION_DETAILS", "OVERALL_TRAFFIC_SUGGESTIONS", - "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS" + "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS", + "ROUTING_SUGGESTIONS" ] }, "ResourceName":{ @@ -1660,7 +1661,7 @@ }, "QueryType":{ "shape":"QueryType", - "documentation":"

The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:

For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.

" + "documentation":"

The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:

For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.

" }, "FilterParameters":{ "shape":"FilterParameters", diff --git a/botocore/data/mediaconvert/2017-08-29/service-2.json b/botocore/data/mediaconvert/2017-08-29/service-2.json index bf4edcb915..82a39c0632 100644 --- a/botocore/data/mediaconvert/2017-08-29/service-2.json +++ b/botocore/data/mediaconvert/2017-08-29/service-2.json @@ -8296,7 +8296,7 @@ "NielsenNonLinearWatermark": { "shape": "NielsenNonLinearWatermarkSettings", "locationName": "nielsenNonLinearWatermark", - "documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]" + "documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 6.0.13 Nielsen NLM Watermark Engine Version 1.3.3 Nielsen Watermark Authenticator [SID_TIC] Version [7.0.0]" }, "OutputGroups": { "shape": "__listOfOutputGroup", @@ -8467,7 +8467,7 @@ "NielsenNonLinearWatermark": { "shape": "NielsenNonLinearWatermarkSettings", "locationName": "nielsenNonLinearWatermark", - "documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]" + "documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 6.0.13 Nielsen NLM Watermark Engine Version 1.3.3 Nielsen Watermark Authenticator [SID_TIC] Version [7.0.0]" }, "OutputGroups": { "shape": "__listOfOutputGroup", @@ -8501,7 +8501,7 @@ "documentation": "Specify a unique identifier for Kantar to use for this piece of content." }, "CredentialsSecretName": { - "shape": "__stringMin1Max512PatternAZAZ09", + "shape": "__stringMin1Max2048PatternArnAwsAwsUsGovAwsCnSecretsmanagerUsGovApCaCnEuSaCentralNorthSouthEastWestDD12SecretAZAZ09", "locationName": "credentialsSecretName", "documentation": "Provide the name of the AWS Secrets Manager secret where your Kantar credentials are stored. Note that your MediaConvert service role must provide access to this secret. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/granting-permissions-for-mediaconvert-to-access-secrets-manager-secret.html. For instructions on creating a secret, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/tutorials_basic.html, in the AWS Secrets Manager User Guide." }, @@ -10563,7 +10563,7 @@ "documentation": "To create assets that have the same TIC values in each audio track, keep the default value Share TICs. To create assets that have unique TIC values for each audio track, choose Use unique TICs." } }, - "documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]" + "documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 6.0.13 Nielsen NLM Watermark Engine Version 1.3.3 Nielsen Watermark Authenticator [SID_TIC] Version [7.0.0]" }, "NielsenSourceWatermarkStatusType": { "type": "string", @@ -14619,6 +14619,12 @@ "min": 1, "max": 20 }, + "__stringMin1Max2048PatternArnAwsAwsUsGovAwsCnSecretsmanagerUsGovApCaCnEuSaCentralNorthSouthEastWestDD12SecretAZAZ09": { + "type": "string", + "min": 1, + "max": 2048, + "pattern": "^(arn:(aws|aws-us-gov|aws-cn):secretsmanager:(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-\\d:\\d{12}:secret:)?[a-zA-Z0-9_\\/_+=.@-]*$" + }, "__stringMin1Max256": { "type": "string", "min": 1, @@ -14635,12 +14641,6 @@ "max": 50, "pattern": "^[a-zA-Z0-9_\\/_+=.@-]*$" }, - "__stringMin1Max512PatternAZAZ09": { - "type": "string", - "min": 1, - "max": 512, - "pattern": "^[a-zA-Z0-9_\\/_+=.@-]*$" - }, "__stringMin24Max512PatternAZaZ0902": { "type": "string", "min": 24, diff --git a/botocore/data/organizations/2016-11-28/service-2.json b/botocore/data/organizations/2016-11-28/service-2.json index c45fae4ca1..7641719be4 100644 --- a/botocore/data/organizations/2016-11-28/service-2.json +++ b/botocore/data/organizations/2016-11-28/service-2.json @@ -60,7 +60,7 @@ {"shape":"UnsupportedAPIEndpointException"}, {"shape":"PolicyChangesInProgressException"} ], - "documentation":"

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy. Refer to the Organizations User Guide for information about each policy type:

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

" + "documentation":"

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy. Refer to the Organizations User Guide for information about each policy type:

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

" }, "CancelHandshake":{ "name":"CancelHandshake", @@ -1661,7 +1661,7 @@ }, "Type":{ "shape":"PolicyType", - "documentation":"

The type of policy to create. You can specify one of the following values:

" + "documentation":"

The type of policy to create. You can specify one of the following values:

" }, "Tags":{ "shape":"Tags", @@ -1978,7 +1978,7 @@ }, "PolicyType":{ "shape":"PolicyType", - "documentation":"

The policy type that you want to disable in this root. You can specify one of the following values:

" + "documentation":"

The policy type that you want to disable in this root. You can specify one of the following values:

" } } }, @@ -2114,7 +2114,7 @@ }, "PolicyType":{ "shape":"PolicyType", - "documentation":"

The policy type that you want to enable. You can specify one of the following values:

" + "documentation":"

The policy type that you want to enable. You can specify one of the following values:

" } } }, @@ -2378,7 +2378,7 @@ "Message":{"shape":"ExceptionMessage"}, "Reason":{"shape":"InvalidInputExceptionReason"} }, - "documentation":"

The requested operation failed because you provided invalid values for one or more of the request parameters. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

", + "documentation":"

The requested operation failed because you provided invalid values for one or more of the request parameters. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

", "exception":true }, "InvalidInputExceptionReason":{ @@ -2409,9 +2409,11 @@ "TARGET_NOT_SUPPORTED", "INVALID_EMAIL_ADDRESS_TARGET", "INVALID_RESOURCE_POLICY_JSON", + "INVALID_PRINCIPAL", "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY", "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY", - "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY" + "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY", + "NON_DETACHABLE_POLICY" ] }, "InviteAccountToOrganizationRequest":{ @@ -2788,7 +2790,7 @@ }, "Filter":{ "shape":"PolicyType", - "documentation":"

The type of policy that you want to include in the returned list. You must specify one of the following values:

" + "documentation":"

The type of policy that you want to include in the returned list. You must specify one of the following values:

" }, "NextToken":{ "shape":"NextToken", @@ -2819,7 +2821,7 @@ "members":{ "Filter":{ "shape":"PolicyType", - "documentation":"

Specifies the type of policy that you want to include in the response. You must specify one of the following values:

" + "documentation":"

Specifies the type of policy that you want to include in the response. You must specify one of the following values:

" }, "NextToken":{ "shape":"NextToken", @@ -3265,6 +3267,7 @@ "type":"string", "enum":[ "SERVICE_CONTROL_POLICY", + "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", diff --git a/tests/functional/endpoint-rules/billing/endpoint-tests-1.json b/tests/functional/endpoint-rules/billing/endpoint-tests-1.json new file mode 100644 index 0000000000..9e8c1f5585 --- /dev/null +++ b/tests/functional/endpoint-rules/billing/endpoint-tests-1.json @@ -0,0 +1,313 @@ +{ + "testCases": [ + { + "documentation": "For custom endpoint with region not set and fips disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips enabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://billing-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://billing.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://billing-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://billing.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://billing-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://billing.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, + "url": "https://billing-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, + "url": "https://billing.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, + "url": "https://billing-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, + "url": "https://billing.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://billing-fips.eu-isoe-west-1.cloud.adc-e.uk" + } + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": true + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://billing.eu-isoe-west-1.cloud.adc-e.uk" + } + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://billing-fips.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://billing.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file From 4a014dbe99efa13ddbca6228bbfae6a718437d9a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 13 Nov 2024 19:06:38 +0000 Subject: [PATCH 2/3] Update endpoints model --- botocore/data/endpoints.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/botocore/data/endpoints.json b/botocore/data/endpoints.json index 40b98a6d90..8e8197e16f 100644 --- a/botocore/data/endpoints.json +++ b/botocore/data/endpoints.json @@ -9651,6 +9651,7 @@ "ap-southeast-2" : { }, "ap-southeast-3" : { }, "ap-southeast-4" : { }, + "ap-southeast-5" : { }, "ca-central-1" : { }, "ca-west-1" : { }, "eu-central-1" : { }, @@ -10728,6 +10729,7 @@ }, "iotfleetwise" : { "endpoints" : { + "ap-south-1" : { }, "eu-central-1" : { }, "us-east-1" : { } } @@ -21625,6 +21627,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, From 83045be2ef2c9ebc2fcc1f1ce26f719eee4528b6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 13 Nov 2024 19:07:54 +0000 Subject: [PATCH 3/3] Bumping version to 1.35.60 --- .changes/1.35.60.json | 52 +++++++++++++++++++ .../api-change-accessanalyzer-71471.json | 5 -- .../api-change-applicationsignals-11102.json | 5 -- .../next-release/api-change-b2bi-83226.json | 5 -- .../api-change-billing-74206.json | 5 -- .../api-change-cloudtrail-7305.json | 5 -- .../api-change-dynamodb-48126.json | 5 -- .../next-release/api-change-ec2-70235.json | 5 -- .../api-change-internetmonitor-89083.json | 5 -- .../api-change-mediaconvert-44557.json | 5 -- .../api-change-organizations-19332.json | 5 -- CHANGELOG.rst | 15 ++++++ botocore/__init__.py | 2 +- docs/source/conf.py | 2 +- 14 files changed, 69 insertions(+), 52 deletions(-) create mode 100644 .changes/1.35.60.json delete mode 100644 .changes/next-release/api-change-accessanalyzer-71471.json delete mode 100644 .changes/next-release/api-change-applicationsignals-11102.json delete mode 100644 .changes/next-release/api-change-b2bi-83226.json delete mode 100644 .changes/next-release/api-change-billing-74206.json delete mode 100644 .changes/next-release/api-change-cloudtrail-7305.json delete mode 100644 .changes/next-release/api-change-dynamodb-48126.json delete mode 100644 .changes/next-release/api-change-ec2-70235.json delete mode 100644 .changes/next-release/api-change-internetmonitor-89083.json delete mode 100644 .changes/next-release/api-change-mediaconvert-44557.json delete mode 100644 .changes/next-release/api-change-organizations-19332.json diff --git a/.changes/1.35.60.json b/.changes/1.35.60.json new file mode 100644 index 0000000000..9b70a99abc --- /dev/null +++ b/.changes/1.35.60.json @@ -0,0 +1,52 @@ +[ + { + "category": "``accessanalyzer``", + "description": "This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators.", + "type": "api-change" + }, + { + "category": "``application-signals``", + "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements.", + "type": "api-change" + }, + { + "category": "``b2bi``", + "description": "This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples.", + "type": "api-change" + }, + { + "category": "``billing``", + "description": "Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically.", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds the source AMI details in DescribeImages API", + "type": "api-change" + }, + { + "category": "``internetmonitor``", + "description": "Add new query type Routing_Suggestions regarding querying interface", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Add support for policy operations on the Resource Control Polices.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-accessanalyzer-71471.json b/.changes/next-release/api-change-accessanalyzer-71471.json deleted file mode 100644 index b1f474424d..0000000000 --- a/.changes/next-release/api-change-accessanalyzer-71471.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``accessanalyzer``", - "description": "This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators." -} diff --git a/.changes/next-release/api-change-applicationsignals-11102.json b/.changes/next-release/api-change-applicationsignals-11102.json deleted file mode 100644 index 11eff71864..0000000000 --- a/.changes/next-release/api-change-applicationsignals-11102.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements." -} diff --git a/.changes/next-release/api-change-b2bi-83226.json b/.changes/next-release/api-change-b2bi-83226.json deleted file mode 100644 index 158495cb45..0000000000 --- a/.changes/next-release/api-change-b2bi-83226.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``b2bi``", - "description": "This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples." -} diff --git a/.changes/next-release/api-change-billing-74206.json b/.changes/next-release/api-change-billing-74206.json deleted file mode 100644 index 484c67db5b..0000000000 --- a/.changes/next-release/api-change-billing-74206.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``billing``", - "description": "Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically." -} diff --git a/.changes/next-release/api-change-cloudtrail-7305.json b/.changes/next-release/api-change-cloudtrail-7305.json deleted file mode 100644 index 2a597d1381..0000000000 --- a/.changes/next-release/api-change-cloudtrail-7305.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt." -} diff --git a/.changes/next-release/api-change-dynamodb-48126.json b/.changes/next-release/api-change-dynamodb-48126.json deleted file mode 100644 index a3403dc0b4..0000000000 --- a/.changes/next-release/api-change-dynamodb-48126.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value." -} diff --git a/.changes/next-release/api-change-ec2-70235.json b/.changes/next-release/api-change-ec2-70235.json deleted file mode 100644 index 7624b37ee5..0000000000 --- a/.changes/next-release/api-change-ec2-70235.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds the source AMI details in DescribeImages API" -} diff --git a/.changes/next-release/api-change-internetmonitor-89083.json b/.changes/next-release/api-change-internetmonitor-89083.json deleted file mode 100644 index c33fe605ea..0000000000 --- a/.changes/next-release/api-change-internetmonitor-89083.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``internetmonitor``", - "description": "Add new query type Routing_Suggestions regarding querying interface" -} diff --git a/.changes/next-release/api-change-mediaconvert-44557.json b/.changes/next-release/api-change-mediaconvert-44557.json deleted file mode 100644 index 7c862e33f8..0000000000 --- a/.changes/next-release/api-change-mediaconvert-44557.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs." -} diff --git a/.changes/next-release/api-change-organizations-19332.json b/.changes/next-release/api-change-organizations-19332.json deleted file mode 100644 index 752eedcc85..0000000000 --- a/.changes/next-release/api-change-organizations-19332.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Add support for policy operations on the Resource Control Polices." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1be0c901d6..e15ba5450a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.35.60 +======= + +* api-change:``accessanalyzer``: This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators. +* api-change:``application-signals``: Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements. +* api-change:``b2bi``: This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples. +* api-change:``billing``: Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically. +* api-change:``cloudtrail``: This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt. +* api-change:``dynamodb``: This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value. +* api-change:``ec2``: This release adds the source AMI details in DescribeImages API +* api-change:``internetmonitor``: Add new query type Routing_Suggestions regarding querying interface +* api-change:``mediaconvert``: This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs. +* api-change:``organizations``: Add support for policy operations on the Resource Control Polices. + + 1.35.59 ======= diff --git a/botocore/__init__.py b/botocore/__init__.py index 1ef80e981c..67e2820878 100644 --- a/botocore/__init__.py +++ b/botocore/__init__.py @@ -16,7 +16,7 @@ import os import re -__version__ = '1.35.59' +__version__ = '1.35.60' class NullHandler(logging.Handler): diff --git a/docs/source/conf.py b/docs/source/conf.py index d7a3a58c0c..6195d5e697 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,7 +59,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.59' +release = '1.35.60' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.